#55811F#55811F
#55811F is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.134 H 131.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #55811F |
|---|---|
| RGB | rgb(85, 129, 31) |
| HSL | hsl(87, 61%, 31%) |
| HSV | hsv(87, 76%, 51%) |
| CMYK | cmyk(34.1%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(49.17, -31.15, 45.35) |
| CIE-LCH | lch(49.17, 55.02, 124.49°) |
| OKLab | oklab(55.13% -0.0883 0.1015) |
| OKLCH | oklch(55.13% 0.134 131) |
| XYZ | xyz(11.8438, 17.7303, 4.0943) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.48
Dirty Green
#667E2C
ΔE00 4.08
Sap Green
#5C8B15
ΔE00 4.11
Mossy Green
#638B27
ΔE00 4.16
Dark Grass Green
#388004
ΔE00 4.30
Swamp
#698339
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#55811F #4B1F81
analogous
#817C1F #55811F #24811F
triadic
#55811F #1F5581 #811F55
tetradic
#55811F #1F817C #4B1F81 #811F24
square
#55811F #1F817C #4B1F81 #811F24
split-complementary
#55811F #1F2481 #7C1F81
monochromatic
#141E07 #345013 #55811F #76B22B #94D347
Accessibility & contrast
On white
4.62
#55811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#55811F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #55811F
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##55811F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##55811F | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#577B6E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #55811f; /* rgb */ color: rgb(85, 129, 31); /* oklch */ color: oklch(55.1% 0.134 131.0);
Tailwind
colors: {
custom: {
50: '#89a662',
500: '#55811f',
950: '#000000',
},
}SCSS
$custom: #55811f; $custom-light: #89a662; $custom-dark: #000000;
JSON
{
"hex": "#55811f",
"rgb": {
"r": 85,
"g": 129,
"b": 31
},
"hsl": {
"h": 86.939,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.55129,
"c": 0.13448,
"h": 131
},
"luminance": 0.17731
}Semantic roles & 50–950 ramp
primary
#55811F
secondary
#7848B4
accent
#43E48C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A