#547F1F#547F1F
#547F1F is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.132 H 130.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #547F1F |
|---|---|
| RGB | rgb(84, 127, 31) |
| HSL | hsl(87, 61%, 31%) |
| HSV | hsv(87, 76%, 50%) |
| CMYK | cmyk(33.9%, 0%, 75.6%, 50.2%) |
| CIE-LAB | lab(48.46, -30.61, 44.64) |
| CIE-LCH | lch(48.46, 54.13, 124.44°) |
| OKLab | oklab(54.54% -0.0867 0.1) |
| OKLCH | oklch(54.54% 0.132 130.9) |
| XYZ | xyz(11.4928, 17.1621, 4.0031) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.83
Dirty Green
#667E2C
ΔE00 3.99
Dark Grass Green
#388004
ΔE00 4.25
Sap Green
#5C8B15
ΔE00 4.84
Mossy Green
#638B27
ΔE00 4.86
Swamp
#698339
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#547F1F #4A1F7F
analogous
#7F7A1F #547F1F #247F1F
triadic
#547F1F #1F547F #7F1F54
tetradic
#547F1F #1F7F7A #4A1F7F #7F1F24
square
#547F1F #1F7F7A #4A1F7F #7F1F24
split-complementary
#547F1F #1F247F #7A1F7F
monochromatic
#131D07 #334E13 #547F1F #75B02B #93D246
Accessibility & contrast
On white
4.74
#547F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#547F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #547F1F
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##547F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##547F1F | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750D
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#56796C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #547f1f; /* rgb */ color: rgb(84, 127, 31); /* oklch */ color: oklch(54.5% 0.132 130.9);
Tailwind
colors: {
custom: {
50: '#88a462',
500: '#547f1f',
950: '#000000',
},
}SCSS
$custom: #547f1f; $custom-light: #88a462; $custom-dark: #000000;
JSON
{
"hex": "#547f1f",
"rgb": {
"r": 84,
"g": 127,
"b": 31
},
"hsl": {
"h": 86.875,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.5454,
"c": 0.13236,
"h": 130.9
},
"luminance": 0.17162
}Semantic roles & 50–950 ramp
primary
#547F1F
secondary
#7748B2
accent
#44E48C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A