#4C791E#4C791E
#4C791E is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.129 H 132.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4C791E |
|---|---|
| RGB | rgb(76, 121, 30) |
| HSL | hsl(90, 60%, 30%) |
| HSV | hsv(90, 75%, 47%) |
| CMYK | cmyk(37.2%, 0%, 75.2%, 52.5%) |
| CIE-LAB | lab(46.05, -31.00, 42.48) |
| CIE-LCH | lch(46.05, 52.59, 126.12°) |
| OKLab | oklab(52.45% -0.0873 0.0954) |
| OKLCH | oklch(52.45% 0.129 132.5) |
| XYZ | xyz(10.0521, 15.3046, 3.6525) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 4.20
Avocado
#568203
ΔE00 4.85
Tree Green
#2A7E19
ΔE00 5.03
Dirty Green
#667E2C
ΔE00 5.37
Military Green
#667C3E
ΔE00 6.48
Swamp
#698339
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C791E #4B1E79
analogous
#79791E #4C791E #1F791E
triadic
#4C791E #1E4C79 #791E4C
tetradic
#4C791E #1E7979 #4B1E79 #791E1F
square
#4C791E #1E7979 #4B1E79 #791E1F
split-complementary
#4C791E #1E1F79 #791E79
monochromatic
#0F1906 #2D4812 #4C791E #6BAA2A #89D041
Accessibility & contrast
On white
5.17
#4C791E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#4C791E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C791E
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C791E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C791E | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#4D7467
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4c791e; /* rgb */ color: rgb(76, 121, 30); /* oklch */ color: oklch(52.4% 0.129 132.5);
Tailwind
colors: {
custom: {
50: '#82a060',
500: '#4c791e',
950: '#000000',
},
}SCSS
$custom: #4c791e; $custom-light: #82a060; $custom-dark: #000000;
JSON
{
"hex": "#4c791e",
"rgb": {
"r": 76,
"g": 121,
"b": 30
},
"hsl": {
"h": 89.67,
"s": 60.265,
"l": 29.608
},
"oklch": {
"l": 0.52447,
"c": 0.12937,
"h": 132.5
},
"luminance": 0.15305
}Semantic roles & 50–950 ramp
primary
#4C791E
secondary
#7946AD
accent
#44E393
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79