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
Dark Olive Green in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #556b2f | |
|---|---|---|
| RGB | rgb(85 107 47) | |
| RGB legacy | rgb(85, 107, 47) | |
| RGB percent | rgb(33.33% 41.96% 18.43%) | |
| HSL | hsl(82 39% 30.2%) | |
| HSL legacy | hsl(82, 39%, 30.2%) | |
| HSV / HSB | hsv(82, 56.1%, 42%) | |
| HWB | hwb(82 18.4% 58%) | |
| Nearest name | darkolivegreen | |
| CMYK | cmyk(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.
| OKLCh | oklch(49.552% 0.0896 126.186)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(49.552% -0.0529 0.07232) | |
| CIE LCh | lch(42.359% 34.467 118.409) | |
| CIE Lab | lab(42.359% -16.398 30.316) | |
| Display P3 | color(display-p3 0.3506 0.4171 0.2153) | |
| Rec. 2020 | color(rec2020 0.3022 0.3571 0.1586) | |
| srgb-linear | color(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 — sRGB | vec3(0.333, 0.42, 0.184)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.091, 0.147, 0.028)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.333, 0.42, 0.184, 1.0) | |
| GLSL vec4 — linear | vec4(0.091, 0.147, 0.028, 1.0) | |
| GLSL ivec3 | ivec3(85, 107, 47) | |
| HLSL float3 — sRGB | float3(0.333, 0.42, 0.184) | |
| HLSL float3 — linear | float3(0.091, 0.147, 0.028) | |
| HLSL float4 — sRGB | float4(0.333, 0.42, 0.184, 1.0) | |
| HLSL half4 — sRGB | half4(0.333, 0.42, 0.184, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.333, 0.42, 0.184) | |
| WGSL vec4f — sRGB | vec4f(0.333, 0.42, 0.184, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.091, 0.147, 0.028) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new 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 Color32 | new Color32(85, 107, 47, 255) | |
| Unreal FLinearColor | FLinearColor(0.0908f, 0.147f, 0.0284f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(85, 107, 47, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.333, 0.42, 0.184, 1) | |
| Flutter Color | Color(0xFF556B2F)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(85, 107, 47) | |
| SwiftUI Color | Color(red: 0.333, green: 0.42, blue: 0.184) | |
| UIKit UIColor | UIColor(red: 0.333, green: 0.42, blue: 0.184, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x556B2F | |
|---|---|---|
| 0x hex (ARGB) | 0xFF556B2F | |
| Array 0–1 | [0.333, 0.42, 0.184] | |
| Array 0–255 | [85, 107, 47] | |
| Decimal integer | 5597999 |
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.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Dark Olive Green on white | 5.95:1 | AA | Lc 80 | Body text, 18px and up |
| Dark Olive Green on black | 3.53:1 | AA Large | Lc 22 | Not 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 matchdarkgreenΔEok 0.090dimgrayΔEok 0.093seagreenΔEok 0.094greenΔEok 0.097oliveΔEok 0.098