#4B7919#4B7919
#4B7919 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.4% C 0.133 H 132.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4B7919 |
|---|---|
| RGB | rgb(75, 121, 25) |
| HSL | hsl(89, 66%, 29%) |
| HSV | hsv(89, 79%, 47%) |
| CMYK | cmyk(38%, 0%, 79.3%, 52.5%) |
| CIE-LAB | lab(45.96, -31.71, 44.23) |
| CIE-LCH | lch(45.96, 54.42, 125.64°) |
| OKLab | oklab(52.35% -0.0896 0.0983) |
| OKLCH | oklch(52.35% 0.133 132.3) |
| XYZ | xyz(9.9144, 15.2404, 3.3388) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.92
Avocado
#568203
ΔE00 4.53
Tree Green
#2A7E19
ΔE00 5.01
Dirty Green
#667E2C
ΔE00 5.53
Green
#008000
ΔE00 6.84
Swamp
#698339
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B7919 #471979
analogous
#797719 #4B7919 #1B7919
triadic
#4B7919 #194B79 #79194B
tetradic
#4B7919 #197977 #471979 #79191B
square
#4B7919 #197977 #471979 #79191B
split-complementary
#4B7919 #191B79 #771979
monochromatic
#101905 #2C460F #4B7919 #6AAC23 #8AD637
Accessibility & contrast
On white
5.19
#4B7919 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#4B7919 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B7919
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B7919 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B7919 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#4C7467
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4b7919; /* rgb */ color: rgb(75, 121, 25); /* oklch */ color: oklch(52.4% 0.133 132.3);
Tailwind
colors: {
custom: {
50: '#82a05e',
500: '#4b7919',
950: '#000000',
},
}SCSS
$custom: #4b7919; $custom-light: #82a05e; $custom-dark: #000000;
JSON
{
"hex": "#4b7919",
"rgb": {
"r": 75,
"g": 121,
"b": 25
},
"hsl": {
"h": 88.75,
"s": 65.753,
"l": 28.627
},
"oklch": {
"l": 0.52351,
"c": 0.13301,
"h": 132.3
},
"luminance": 0.15241
}Semantic roles & 50–950 ramp
primary
#4B7919
secondary
#7540AE
accent
#3FE990
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79