#4F7E18#4F7E18
#4F7E18 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.138 H 131.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7E18 |
|---|---|
| RGB | rgb(79, 126, 24) |
| HSL | hsl(88, 68%, 29%) |
| HSV | hsv(88, 81%, 49%) |
| CMYK | cmyk(37.3%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(47.82, -32.52, 46.40) |
| CIE-LCH | lch(47.82, 56.66, 125.02°) |
| OKLab | oklab(53.92% -0.0921 0.1026) |
| OKLCH | oklch(53.92% 0.138 131.9) |
| XYZ | xyz(10.8501, 16.6495, 3.5060) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.84
Dark Grass Green
#388004
ΔE00 3.43
Dirty Green
#667E2C
ΔE00 4.85
Sap Green
#5C8B15
ΔE00 5.23
Tree Green
#2A7E19
ΔE00 5.31
Mossy Green
#638B27
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7E18 #47187E
analogous
#7E7A18 #4F7E18 #1C7E18
triadic
#4F7E18 #184F7E #7E184F
tetradic
#4F7E18 #187E7A #47187E #7E181C
square
#4F7E18 #187E7A #47187E #7E181C
split-complementary
#4F7E18 #181C7E #7A187E
monochromatic
#101A05 #2F4B0E #4F7E18 #6FB122 #8FD937
Accessibility & contrast
On white
4.85
#4F7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#4F7E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7E18
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7E18 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4f7e18; /* rgb */ color: rgb(79, 126, 24); /* oklch */ color: oklch(53.9% 0.138 131.9);
Tailwind
colors: {
custom: {
50: '#85a35e',
500: '#4f7e18',
950: '#000000',
},
}SCSS
$custom: #4f7e18; $custom-light: #85a35e; $custom-dark: #000000;
JSON
{
"hex": "#4f7e18",
"rgb": {
"r": 79,
"g": 126,
"b": 24
},
"hsl": {
"h": 87.647,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.53923,
"c": 0.13789,
"h": 131.9
},
"luminance": 0.1665
}Semantic roles & 50–950 ramp
primary
#4F7E18
secondary
#743FB2
accent
#3DEB8D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79