#4F7E19#4F7E19
#4F7E19 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.137 H 132.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7E19 |
|---|---|
| RGB | rgb(79, 126, 25) |
| HSL | hsl(88, 67%, 30%) |
| HSV | hsv(88, 80%, 49%) |
| CMYK | cmyk(37.3%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(47.82, -32.46, 46.07) |
| CIE-LCH | lch(47.82, 56.36, 125.17°) |
| OKLab | oklab(53.93% -0.0919 0.1021) |
| OKLCH | oklch(53.93% 0.137 132) |
| XYZ | xyz(10.8607, 16.6537, 3.5618) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.92
Dark Grass Green
#388004
ΔE00 3.44
Dirty Green
#667E2C
ΔE00 4.84
Tree Green
#2A7E19
ΔE00 5.26
Sap Green
#5C8B15
ΔE00 5.27
Mossy Green
#638B27
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7E19 #48197E
analogous
#7E7B19 #4F7E19 #1D7E19
triadic
#4F7E19 #194F7E #7E194F
tetradic
#4F7E19 #197E7B #48197E #7E191D
square
#4F7E19 #197E7B #48197E #7E191D
split-complementary
#4F7E19 #191D7E #7B197E
monochromatic
#101A05 #2F4B0F #4F7E19 #6FB123 #8ED83A
Accessibility & contrast
On white
4.85
#4F7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#4F7E19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7E19
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7E19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7E19 | 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)
#7D7024
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4f7e19; /* rgb */ color: rgb(79, 126, 25); /* oklch */ color: oklch(53.9% 0.137 132.0);
Tailwind
colors: {
custom: {
50: '#85a35f',
500: '#4f7e19',
950: '#000000',
},
}SCSS
$custom: #4f7e19; $custom-light: #85a35f; $custom-dark: #000000;
JSON
{
"hex": "#4f7e19",
"rgb": {
"r": 79,
"g": 126,
"b": 25
},
"hsl": {
"h": 87.921,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.53929,
"c": 0.13736,
"h": 132
},
"luminance": 0.16654
}Semantic roles & 50–950 ramp
primary
#4F7E19
secondary
#7541B2
accent
#3EEA8E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79