Colour reference

Pakistan Green

#283618

RGB
rgb(40 54 24)
HSL
88°, 38%, 15%
OKLCh
31.2% 0.053 129.6

Open in the picker

Pakistan Green in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#283618
RGBrgb(40 54 24)
RGB legacyrgb(40, 54, 24)
RGB percentrgb(15.69% 21.18% 9.41%)
HSLhsl(88 38.5% 15.3%)
HSL legacyhsl(88, 38.5%, 15.3%)
HSV / HSBhsv(88, 55.6%, 21.2%)
HWBhwb(88 9.4% 78.8%)
Nearest namedarkslategray (approx.)
CMYKcmyk(25.9%, 0%, 55.6%, 78.8%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(31.179% 0.05286 129.564)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(31.179% -0.03367 0.04075)
CIE LChlch(20.72% 19.918 122.672)
CIE Lablab(20.72% -10.752 16.767)
Display P3color(display-p3 0.168 0.2102 0.1082)
Rec. 2020color(rec2020 0.1129 0.1454 0.053)
srgb-linearcolor(srgb-linear 0.0212 0.0369 0.0091)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.0236 0.0316 0.0135)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(0.157, 0.212, 0.094)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.021, 0.037, 0.009)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.157, 0.212, 0.094, 1.0)
GLSL vec4 — linearvec4(0.021, 0.037, 0.009, 1.0)
GLSL ivec3ivec3(40, 54, 24)
HLSL float3 — sRGBfloat3(0.157, 0.212, 0.094)
HLSL float3 — linearfloat3(0.021, 0.037, 0.009)
HLSL float4 — sRGBfloat4(0.157, 0.212, 0.094, 1.0)
HLSL half4 — sRGBhalf4(0.157, 0.212, 0.094, 1.0)
WGSL vec3f — sRGBvec3f(0.157, 0.212, 0.094)
WGSL vec4f — sRGBvec4f(0.157, 0.212, 0.094, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.021, 0.037, 0.009)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(0.157f, 0.212f, 0.094f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(40, 54, 24, 255)
Unreal FLinearColorFLinearColor(0.0212f, 0.0369f, 0.0091f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(40, 54, 24, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.157, 0.212, 0.094, 1)
Flutter ColorColor(0xFF283618)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(40, 54, 24)
SwiftUI ColorColor(red: 0.157, green: 0.212, blue: 0.094)
UIKit UIColorUIColor(red: 0.157, green: 0.212, blue: 0.094, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x283618
0x hex (ARGB)0xFF283618
Array 0–1[0.157, 0.212, 0.094]
Array 0–255[40, 54, 24]
Decimal integer2635288

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Pakistan Green on white12.87:1AAALc 99Body text at any size
Pakistan Green on black1.63:1FailLc 0Not usable for text

Pakistan Green text on a white background

Pakistan Green text on a black background

White text on Pakistan Green

Black text on Pakistan Green

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#effde2
  • 100#e5f4d7
  • 200#d3e3c4
  • 300#bcccac
  • 400#9fb08e
  • 500#819270
  • 600#687858
  • 700#526043
  • 800#404d32
  • 900#313c25
  • 950#1a2310

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#47543a
  • Tint 2#68735e
  • Tint 3#8c9484
  • Tint 4#b1b7ab
  • Tint 5#d7dad4
  • Shade 1#1d2810
  • Shade 2#131b09
  • Shade 3#090f04
  • Shade 4#030501
  • Shade 5#000100

Colours that work with Pakistan Green

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #392945
  • #1a334a
  • #47252b
  • #37310e
  • #153927

Closest CSS names

  • darkslategrayΔEok 0.104
  • darkgreenΔEok 0.158
  • maroonΔEok 0.184
  • darkolivegreenΔEok 0.187
  • midnightblueΔEok 0.190
  • saddlebrownΔEok 0.196