#4F7F18#4F7F18
#4F7F18 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.139 H 132.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7F18 |
|---|---|
| RGB | rgb(79, 127, 24) |
| HSL | hsl(88, 68%, 30%) |
| HSV | hsv(88, 81%, 50%) |
| CMYK | cmyk(37.8%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(48.14, -32.97, 46.70) |
| CIE-LCH | lch(48.14, 57.17, 125.22°) |
| OKLab | oklab(54.19% -0.0933 0.1033) |
| OKLCH | oklch(54.19% 0.139 132.1) |
| XYZ | xyz(10.9786, 16.9065, 3.5488) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.67
Dark Grass Green
#388004
ΔE00 3.32
Sap Green
#5C8B15
ΔE00 4.91
Dirty Green
#667E2C
ΔE00 4.92
Mossy Green
#638B27
ΔE00 5.28
Tree Green
#2A7E19
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7F18 #48187F
analogous
#7F7C18 #4F7F18 #1C7F18
triadic
#4F7F18 #184F7F #7F184F
tetradic
#4F7F18 #187F7C #48187F #7F181C
square
#4F7F18 #187F7C #48187F #7F181C
split-complementary
#4F7F18 #181C7F #7C187F
monochromatic
#101A05 #2F4C0E #4F7F18 #6FB222 #8ED938
Accessibility & contrast
On white
4.79
#4F7F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#4F7F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7F18
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7F18 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#50796C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4f7f18; /* rgb */ color: rgb(79, 127, 24); /* oklch */ color: oklch(54.2% 0.139 132.1);
Tailwind
colors: {
custom: {
50: '#85a45e',
500: '#4f7f18',
950: '#000000',
},
}SCSS
$custom: #4f7f18; $custom-light: #85a45e; $custom-dark: #000000;
JSON
{
"hex": "#4f7f18",
"rgb": {
"r": 79,
"g": 127,
"b": 24
},
"hsl": {
"h": 87.961,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.5419,
"c": 0.13919,
"h": 132.1
},
"luminance": 0.16907
}Semantic roles & 50–950 ramp
primary
#4F7F18
secondary
#753FB3
accent
#3DEB8E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79