#4E7B1B#4E7B1B
#4E7B1B is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.133 H 131.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7B1B |
|---|---|
| RGB | rgb(78, 123, 27) |
| HSL | hsl(88, 64%, 29%) |
| HSV | hsv(88, 78%, 48%) |
| CMYK | cmyk(36.6%, 0%, 78%, 51.8%) |
| CIE-LAB | lab(46.80, -31.35, 44.38) |
| CIE-LCH | lch(46.80, 54.33, 125.24°) |
| OKLab | oklab(53.08% -0.0887 0.0989) |
| OKLCH | oklch(53.08% 0.133 131.9) |
| XYZ | xyz(10.4226, 15.8643, 3.5497) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.85
Avocado
#568203
ΔE00 3.87
Dirty Green
#667E2C
ΔE00 4.93
Tree Green
#2A7E19
ΔE00 5.21
Swamp
#698339
ΔE00 6.17
Sap Green
#5C8B15
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7B1B #481B7B
analogous
#7B781B #4E7B1B #1E7B1B
triadic
#4E7B1B #1B4E7B #7B1B4E
tetradic
#4E7B1B #1B7B78 #481B7B #7B1B1E
square
#4E7B1B #1B7B78 #481B7B #7B1B1E
split-complementary
#4E7B1B #1B1E7B #781B7B
monochromatic
#101906 #2E4910 #4E7B1B #6EAD26 #8DD43C
Accessibility & contrast
On white
5.03
#4E7B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#4E7B1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E7B1B
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E7B1B | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817106
Deuteranopia (green-blind)
#7A6E25
Tritanopia (blue-blind)
#4F7669
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4e7b1b; /* rgb */ color: rgb(78, 123, 27); /* oklch */ color: oklch(53.1% 0.133 131.9);
Tailwind
colors: {
custom: {
50: '#84a15f',
500: '#4e7b1b',
950: '#000000',
},
}SCSS
$custom: #4e7b1b; $custom-light: #84a15f; $custom-dark: #000000;
JSON
{
"hex": "#4e7b1b",
"rgb": {
"r": 78,
"g": 123,
"b": 27
},
"hsl": {
"h": 88.125,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.53081,
"c": 0.13282,
"h": 131.9
},
"luminance": 0.15865
}Semantic roles & 50–950 ramp
primary
#4E7B1B
secondary
#7643AF
accent
#41E78F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79