#4F7C18#4F7C18
#4F7C18 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.135 H 131.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7C18 |
|---|---|
| RGB | rgb(79, 124, 24) |
| HSL | hsl(87, 68%, 29%) |
| HSV | hsv(87, 81%, 49%) |
| CMYK | cmyk(36.3%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(47.16, -31.60, 45.79) |
| CIE-LCH | lch(47.16, 55.63, 124.61°) |
| OKLab | oklab(53.39% -0.0896 0.1013) |
| OKLCH | oklch(53.39% 0.135 131.5) |
| XYZ | xyz(10.5969, 16.1431, 3.4216) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.28
Dark Grass Green
#388004
ΔE00 3.75
Dirty Green
#667E2C
ΔE00 4.79
Tree Green
#2A7E19
ΔE00 5.43
Sap Green
#5C8B15
ΔE00 5.89
Swamp
#698339
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7C18 #45187C
analogous
#7C7718 #4F7C18 #1D7C18
triadic
#4F7C18 #184F7C #7C184F
tetradic
#4F7C18 #187C77 #45187C #7C181D
square
#4F7C18 #187C77 #45187C #7C181D
split-complementary
#4F7C18 #181D7C #77187C
monochromatic
#101A05 #2E490E #4F7C18 #70AF22 #8FD836
Accessibility & contrast
On white
4.97
#4F7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#4F7C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7C18
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7C18 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#507769
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4f7c18; /* rgb */ color: rgb(79, 124, 24); /* oklch */ color: oklch(53.4% 0.135 131.5);
Tailwind
colors: {
custom: {
50: '#85a25e',
500: '#4f7c18',
950: '#000000',
},
}SCSS
$custom: #4f7c18; $custom-light: #85a25e; $custom-dark: #000000;
JSON
{
"hex": "#4f7c18",
"rgb": {
"r": 79,
"g": 124,
"b": 24
},
"hsl": {
"h": 87,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.53389,
"c": 0.13528,
"h": 131.5
},
"luminance": 0.16144
}Semantic roles & 50–950 ramp
primary
#4F7C18
secondary
#723FB1
accent
#3DEA8B
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79