CSS named colour

Dark Olive Green

#556b2f

A CSS named colour: darkolivegreen is valid anywhere a colour is expected.

RGB
rgb(85 107 47)
HSL
82°, 39%, 30%
OKLCh
49.6% 0.090 126.2

Open in the picker

Dark Olive Green in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#556b2f
RGBrgb(85 107 47)
RGB legacyrgb(85, 107, 47)
RGB percentrgb(33.33% 41.96% 18.43%)
HSLhsl(82 39% 30.2%)
HSL legacyhsl(82, 39%, 30.2%)
HSV / HSBhsv(82, 56.1%, 42%)
HWBhwb(82 18.4% 58%)
Nearest namedarkolivegreen
CMYKcmyk(20.6%, 0%, 56.1%, 58%)Naive conversion. Real print work needs an ICC profile.

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

OKLChoklch(49.552% 0.0896 126.186)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(49.552% -0.0529 0.07232)
CIE LChlch(42.359% 34.467 118.409)
CIE Lablab(42.359% -16.398 30.316)
Display P3color(display-p3 0.3506 0.4171 0.2153)
Rec. 2020color(rec2020 0.3022 0.3571 0.1586)
srgb-linearcolor(srgb-linear 0.0908 0.147 0.0284)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.0952 0.1265 0.0463)

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

GLSL vec3 — sRGBvec3(0.333, 0.42, 0.184)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.091, 0.147, 0.028)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.333, 0.42, 0.184, 1.0)
GLSL vec4 — linearvec4(0.091, 0.147, 0.028, 1.0)
GLSL ivec3ivec3(85, 107, 47)
HLSL float3 — sRGBfloat3(0.333, 0.42, 0.184)
HLSL float3 — linearfloat3(0.091, 0.147, 0.028)
HLSL float4 — sRGBfloat4(0.333, 0.42, 0.184, 1.0)
HLSL half4 — sRGBhalf4(0.333, 0.42, 0.184, 1.0)
WGSL vec3f — sRGBvec3f(0.333, 0.42, 0.184)
WGSL vec4f — sRGBvec4f(0.333, 0.42, 0.184, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.091, 0.147, 0.028)

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

Unity Colornew Color(0.333f, 0.42f, 0.184f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(85, 107, 47, 255)
Unreal FLinearColorFLinearColor(0.0908f, 0.147f, 0.0284f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(85, 107, 47, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.333, 0.42, 0.184, 1)
Flutter ColorColor(0xFF556B2F)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(85, 107, 47)
SwiftUI ColorColor(red: 0.333, green: 0.42, blue: 0.184)
UIKit UIColorUIColor(red: 0.333, green: 0.42, blue: 0.184, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x556B2F
0x hex (ARGB)0xFF556B2F
Array 0–1[0.333, 0.42, 0.184]
Array 0–255[85, 107, 47]
Decimal integer5597999

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
Dark Olive Green on white5.95:1AALc 80Body text, 18px and up
Dark Olive Green on black3.53:1AA LargeLc 22Not usable for text

Dark Olive Green text on a white background

Dark Olive Green text on a black background

White text on Dark Olive Green

Black text on Dark Olive Green

Tonal scale

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

  • 50#ecffd0
  • 100#e2f7c4
  • 200#d0e6b0
  • 300#b8d097
  • 400#9bb477
  • 500#7d9558
  • 600#657b41
  • 700#4f632d
  • 800#3d4f1d
  • 900#2f3e11
  • 950#182401

Tints and shades

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

  • Tint 1#6f8251
  • Tint 2#8a9a73
  • Tint 3#a6b394
  • Tint 4#c3ccb7
  • Tint 5#e1e5db
  • Shade 1#415223
  • Shade 2#2e3b17
  • Shade 3#1c250c
  • Shade 4#0b1103
  • Shade 5#010200

Colours that work with Dark Olive Green

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

  • #6f548a
  • #326692
  • #8c4b5a
  • #71611b
  • #30714c

Closest CSS names

  • darkolivegreenexact match
  • darkgreenΔEok 0.090
  • dimgrayΔEok 0.093
  • seagreenΔEok 0.094
  • greenΔEok 0.097
  • oliveΔEok 0.098