#4F8F19#4F8F19
#4F8F19 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.159 H 134.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4F8F19 |
|---|---|
| RGB | rgb(79, 143, 25) |
| HSL | hsl(93, 70%, 33%) |
| HSV | hsv(93, 83%, 56%) |
| CMYK | cmyk(44.8%, 0%, 82.5%, 43.9%) |
| CIE-LAB | lab(53.36, -39.89, 51.22) |
| CIE-LCH | lch(53.36, 64.92, 127.91°) |
| OKLab | oklab(58.46% -0.1119 0.1129) |
| OKLCH | oklch(58.46% 0.159 134.7) |
| XYZ | xyz(13.2221, 21.3766, 4.3489) |
| Luminance | 0.2138 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.82
Mossy Green
#638B27
ΔE00 3.74
Grass Green
#3F9B0B
ΔE00 4.40
Grassy Green
#419C03
ΔE00 4.68
Olivedrab
#6B8E23
ΔE00 4.91
Moss Green (survey)
#658B38
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F8F19 #59198F
analogous
#8A8F19 #4F8F19 #198F1E
triadic
#4F8F19 #194F8F #8F194F
tetradic
#4F8F19 #198A8F #59198F #8F1E19
square
#4F8F19 #198A8F #59198F #8F1E19
split-complementary
#4F8F19 #1E198F #8F198A
monochromatic
#152707 #325B10 #4F8F19 #6CC322 #8BDE44
Accessibility & contrast
On white
3.98
#4F8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#4F8F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F8F19
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F8F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F8F19 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#4E897A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4f8f19; /* rgb */ color: rgb(79, 143, 25); /* oklch */ color: oklch(58.5% 0.159 134.7);
Tailwind
colors: {
custom: {
50: '#87b061',
500: '#4f8f19',
950: '#000000',
},
}SCSS
$custom: #4f8f19; $custom-light: #87b061; $custom-dark: #000000;
JSON
{
"hex": "#4f8f19",
"rgb": {
"r": 79,
"g": 143,
"b": 25
},
"hsl": {
"h": 92.542,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.58464,
"c": 0.15895,
"h": 134.7
},
"luminance": 0.21377
}Semantic roles & 50–950 ramp
primary
#4F8F19
secondary
#8744BF
accent
#3BED9B
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A