#4F7F19#4F7F19
#4F7F19 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.139 H 132.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7F19 |
|---|---|
| RGB | rgb(79, 127, 25) |
| HSL | hsl(88, 67%, 30%) |
| HSV | hsv(88, 80%, 50%) |
| CMYK | cmyk(37.8%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(48.15, -32.91, 46.38) |
| CIE-LCH | lch(48.15, 56.87, 125.36°) |
| OKLab | oklab(54.2% -0.0931 0.1028) |
| OKLCH | oklch(54.2% 0.139 132.2) |
| XYZ | xyz(10.9892, 16.9107, 3.6046) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.75
Dark Grass Green
#388004
ΔE00 3.33
Dirty Green
#667E2C
ΔE00 4.91
Sap Green
#5C8B15
ΔE00 4.95
Tree Green
#2A7E19
ΔE00 5.24
Mossy Green
#638B27
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7F19 #49197F
analogous
#7F7C19 #4F7F19 #1C7F19
triadic
#4F7F19 #194F7F #7F194F
tetradic
#4F7F19 #197F7C #49197F #7F191C
square
#4F7F19 #197F7C #49197F #7F191C
split-complementary
#4F7F19 #191C7F #7C197F
monochromatic
#101A05 #2F4C0F #4F7F19 #6FB223 #8ED83A
Accessibility & contrast
On white
4.79
#4F7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#4F7F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7F19
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7F19 | 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)
#7E7124
Tritanopia (blue-blind)
#50796C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4f7f19; /* rgb */ color: rgb(79, 127, 25); /* oklch */ color: oklch(54.2% 0.139 132.2);
Tailwind
colors: {
custom: {
50: '#85a45f',
500: '#4f7f19',
950: '#000000',
},
}SCSS
$custom: #4f7f19; $custom-light: #85a45f; $custom-dark: #000000;
JSON
{
"hex": "#4f7f19",
"rgb": {
"r": 79,
"g": 127,
"b": 25
},
"hsl": {
"h": 88.235,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.54196,
"c": 0.13865,
"h": 132.2
},
"luminance": 0.16911
}Semantic roles & 50–950 ramp
primary
#4F7F19
secondary
#7741B3
accent
#3EEA8F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79