#4F7D1C#4F7D1C
#4F7D1C is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.134 H 132.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7D1C |
|---|---|
| RGB | rgb(79, 125, 28) |
| HSL | hsl(88, 63%, 30%) |
| HSV | hsv(88, 78%, 49%) |
| CMYK | cmyk(36.8%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(47.51, -31.82, 44.73) |
| CIE-LCH | lch(47.51, 54.89, 125.43°) |
| OKLab | oklab(53.68% -0.0899 0.0998) |
| OKLCH | oklch(53.68% 0.134 132) |
| XYZ | xyz(10.7675, 16.4129, 3.6991) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.40
Dark Grass Green
#388004
ΔE00 3.63
Dirty Green
#667E2C
ΔE00 4.76
Tree Green
#2A7E19
ΔE00 5.18
Sap Green
#5C8B15
ΔE00 5.71
Swamp
#698339
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7D1C #4A1C7D
analogous
#7D7B1C #4F7D1C #1E7D1C
triadic
#4F7D1C #1C4F7D #7D1C4F
tetradic
#4F7D1C #1C7D7B #4A1C7D #7D1C1E
square
#4F7D1C #1C7D7B #4A1C7D #7D1C1E
split-complementary
#4F7D1C #1C1E7D #7B1C7D
monochromatic
#101906 #2F4B11 #4F7D1C #6FAF27 #8ED43F
Accessibility & contrast
On white
4.90
#4F7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#4F7D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7D1C
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7D1C | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837307
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4f7d1c; /* rgb */ color: rgb(79, 125, 28); /* oklch */ color: oklch(53.7% 0.134 132.0);
Tailwind
colors: {
custom: {
50: '#85a360',
500: '#4f7d1c',
950: '#000000',
},
}SCSS
$custom: #4f7d1c; $custom-light: #85a360; $custom-dark: #000000;
JSON
{
"hex": "#4f7d1c",
"rgb": {
"r": 79,
"g": 125,
"b": 28
},
"hsl": {
"h": 88.454,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.53682,
"c": 0.13433,
"h": 132
},
"luminance": 0.16413
}Semantic roles & 50–950 ramp
primary
#4F7D1C
secondary
#7844B1
accent
#41E690
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79