#54901F#54901F
#54901F is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.0% C 0.155 H 134.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #54901F |
|---|---|
| RGB | rgb(84, 144, 31) |
| HSL | hsl(92, 65%, 34%) |
| HSV | hsv(92, 78%, 56%) |
| CMYK | cmyk(41.7%, 0%, 78.5%, 43.5%) |
| CIE-LAB | lab(53.95, -38.24, 49.97) |
| CIE-LCH | lch(53.95, 62.92, 127.43°) |
| OKLab | oklab(59.03% -0.1074 0.1111) |
| OKLCH | oklch(59.03% 0.155 134) |
| XYZ | xyz(13.8765, 21.9295, 4.7977) |
| Luminance | 0.2193 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.67
Mossy Green
#638B27
ΔE00 3.27
Olivedrab
#6B8E23
ΔE00 4.35
Moss Green (survey)
#658B38
ΔE00 4.43
Grass Green
#3F9B0B
ΔE00 4.47
Grassy Green
#419C03
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54901F #5B1F90
analogous
#8D901F #54901F #1F9022
triadic
#54901F #1F5490 #901F54
tetradic
#54901F #1F8D90 #5B1F90 #90221F
square
#54901F #1F8D90 #5B1F90 #90221F
split-complementary
#54901F #221F90 #901F8D
monochromatic
#192B09 #375E14 #54901F #71C22A #90D950
Accessibility & contrast
On white
3.90
#54901F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#54901F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #54901F
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54901F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##54901F | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#538A7B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #54901f; /* rgb */ color: rgb(84, 144, 31); /* oklch */ color: oklch(59.0% 0.155 134.0);
Tailwind
colors: {
custom: {
50: '#8ab164',
500: '#54901f',
950: '#000000',
},
}SCSS
$custom: #54901f; $custom-light: #8ab164; $custom-dark: #000000;
JSON
{
"hex": "#54901f",
"rgb": {
"r": 84,
"g": 144,
"b": 31
},
"hsl": {
"h": 91.858,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.59025,
"c": 0.15453,
"h": 134
},
"luminance": 0.2193
}Semantic roles & 50–950 ramp
primary
#54901F
secondary
#894EBC
accent
#40E899
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A