#54842F#54842F
#54842F is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.127 H 133.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #54842F |
|---|---|
| RGB | rgb(84, 132, 47) |
| HSL | hsl(94, 47%, 35%) |
| HSV | hsv(94, 64%, 52%) |
| CMYK | cmyk(36.4%, 0%, 64.4%, 48.2%) |
| CIE-LAB | lab(50.21, -31.65, 39.67) |
| CIE-LCH | lch(50.21, 50.75, 128.58°) |
| OKLab | oklab(56% -0.0882 0.0918) |
| OKLCH | oklch(56% 0.127 133.9) |
| XYZ | xyz(12.4203, 18.5921, 5.6230) |
| Luminance | 0.1859 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green (survey)
#658B38
ΔE00 3.75
Mossy Green
#638B27
ΔE00 4.35
Fern Green
#548D44
ΔE00 4.45
Swamp
#698339
ΔE00 4.46
Avocado
#568203
ΔE00 4.78
Sap Green
#5C8B15
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54842F #5F2F84
analogous
#7F842F #54842F #2F8434
triadic
#54842F #2F5484 #842F54
tetradic
#54842F #2F7F84 #5F2F84 #84342F
square
#54842F #2F7F84 #5F2F84 #84342F
split-complementary
#54842F #342F84 #842F7F
monochromatic
#1B2A0F #37571F #54842F #71B13F #90C865
Accessibility & contrast
On white
4.45
#54842F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#54842F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #54842F
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54842F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##54842F | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#547F72
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #54842f; /* rgb */ color: rgb(84, 132, 47); /* oklch */ color: oklch(56.0% 0.127 133.9);
Tailwind
colors: {
custom: {
50: '#88a86b',
500: '#54842f',
950: '#000000',
},
}SCSS
$custom: #54842f; $custom-light: #88a86b; $custom-dark: #000000;
JSON
{
"hex": "#54842f",
"rgb": {
"r": 84,
"g": 132,
"b": 47
},
"hsl": {
"h": 93.882,
"s": 47.486,
"l": 35.098
},
"oklch": {
"l": 0.56002,
"c": 0.12731,
"h": 133.9
},
"luminance": 0.18593
}Semantic roles & 50–950 ramp
primary
#54842F
secondary
#8D60AF
accent
#51D79D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A