#4F7C1A#4F7C1A
#4F7C1A is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.134 H 131.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7C1A |
|---|---|
| RGB | rgb(79, 124, 26) |
| HSL | hsl(88, 65%, 29%) |
| HSV | hsv(88, 79%, 49%) |
| CMYK | cmyk(36.3%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(47.17, -31.49, 45.11) |
| CIE-LCH | lch(47.17, 55.02, 124.91°) |
| OKLab | oklab(53.4% -0.0892 0.1003) |
| OKLCH | oklch(53.4% 0.134 131.6) |
| XYZ | xyz(10.6184, 16.1517, 3.5352) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.44
Dark Grass Green
#388004
ΔE00 3.77
Dirty Green
#667E2C
ΔE00 4.76
Tree Green
#2A7E19
ΔE00 5.34
Sap Green
#5C8B15
ΔE00 5.96
Swamp
#698339
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7C1A #471A7C
analogous
#7C781A #4F7C1A #1E7C1A
triadic
#4F7C1A #1A4F7C #7C1A4F
tetradic
#4F7C1A #1A7C78 #471A7C #7C1A1E
square
#4F7C1A #1A7C78 #471A7C #7C1A1E
split-complementary
#4F7C1A #1A1E7C #781A7C
monochromatic
#101905 #2F490F #4F7C1A #6FAF25 #8FD63B
Accessibility & contrast
On white
4.96
#4F7C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#4F7C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7C1A
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7C1A | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827203
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#50776A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4f7c1a; /* rgb */ color: rgb(79, 124, 26); /* oklch */ color: oklch(53.4% 0.134 131.6);
Tailwind
colors: {
custom: {
50: '#85a25f',
500: '#4f7c1a',
950: '#000000',
},
}SCSS
$custom: #4f7c1a; $custom-light: #85a25f; $custom-dark: #000000;
JSON
{
"hex": "#4f7c1a",
"rgb": {
"r": 79,
"g": 124,
"b": 26
},
"hsl": {
"h": 87.551,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.53402,
"c": 0.13417,
"h": 131.6
},
"luminance": 0.16152
}Semantic roles & 50–950 ramp
primary
#4F7C1A
secondary
#7442B0
accent
#40E88D
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79