#4F8F14#4F8F14
#4F8F14 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.4% C 0.161 H 134.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4F8F14 |
|---|---|
| RGB | rgb(79, 143, 20) |
| HSL | hsl(91, 75%, 32%) |
| HSV | hsv(91, 86%, 56%) |
| CMYK | cmyk(44.8%, 0%, 86%, 43.9%) |
| CIE-LAB | lab(53.34, -40.12, 52.57) |
| CIE-LCH | lch(53.34, 66.13, 127.35°) |
| OKLab | oklab(58.44% -0.1128 0.115) |
| OKLCH | oklch(58.44% 0.161 134.4) |
| XYZ | xyz(13.1729, 21.3569, 4.0899) |
| Luminance | 0.2136 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.67
Mossy Green
#638B27
ΔE00 3.78
Grass Green
#3F9B0B
ΔE00 4.37
Grassy Green
#419C03
ΔE00 4.61
Olivedrab
#6B8E23
ΔE00 4.84
Avocado
#568203
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F8F14 #54148F
analogous
#8C8F14 #4F8F14 #148F17
triadic
#4F8F14 #144F8F #8F144F
tetradic
#4F8F14 #148C8F #54148F #8F1714
square
#4F8F14 #148C8F #54148F #8F1714
split-complementary
#4F8F14 #17148F #8F148C
monochromatic
#142405 #31590C #4F8F14 #6DC51C #8BE33A
Accessibility & contrast
On white
3.98
#4F8F14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#4F8F14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F8F14
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F8F14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F8F14 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E24
Tritanopia (blue-blind)
#4E8979
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4f8f14; /* rgb */ color: rgb(79, 143, 20); /* oklch */ color: oklch(58.4% 0.161 134.4);
Tailwind
colors: {
custom: {
50: '#87b05f',
500: '#4f8f14',
950: '#000000',
},
}SCSS
$custom: #4f8f14; $custom-light: #87b05f; $custom-dark: #000000;
JSON
{
"hex": "#4f8f14",
"rgb": {
"r": 79,
"g": 143,
"b": 20
},
"hsl": {
"h": 91.22,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.5844,
"c": 0.16107,
"h": 134.4
},
"luminance": 0.21358
}Semantic roles & 50–950 ramp
primary
#4F8F14
secondary
#823CC3
accent
#36F298
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79