#4C7D1B#4C7D1B
#4C7D1B is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.137 H 132.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7D1B |
|---|---|
| RGB | rgb(76, 125, 27) |
| HSL | hsl(90, 64%, 30%) |
| HSV | hsv(90, 78%, 49%) |
| CMYK | cmyk(39.2%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(47.34, -33.03, 44.87) |
| CIE-LCH | lch(47.34, 55.71, 126.36°) |
| OKLab | oklab(53.5% -0.093 0.1) |
| OKLCH | oklch(53.5% 0.137 132.9) |
| XYZ | xyz(10.5118, 16.2824, 3.6256) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.18
Avocado
#568203
ΔE00 3.67
Tree Green
#2A7E19
ΔE00 4.66
Dirty Green
#667E2C
ΔE00 5.28
Sap Green
#5C8B15
ΔE00 5.92
Mossy Green
#638B27
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7D1B #4C1B7D
analogous
#7D7D1B #4C7D1B #1B7D1B
triadic
#4C7D1B #1B4C7D #7D1B4C
tetradic
#4C7D1B #1B7D7D #4C1B7D #7D1B1B
square
#4C7D1B #1B7D7D #4C1B7D #7D1B1B
split-complementary
#4C7D1B #1B1B7D #7D1B7D
monochromatic
#0F1905 #2D4B10 #4C7D1B #6BAF26 #89D53D
Accessibility & contrast
On white
4.93
#4C7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#4C7D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C7D1B
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C7D1B | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827305
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#4C786A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4c7d1b; /* rgb */ color: rgb(76, 125, 27); /* oklch */ color: oklch(53.5% 0.137 132.9);
Tailwind
colors: {
custom: {
50: '#83a35f',
500: '#4c7d1b',
950: '#000000',
},
}SCSS
$custom: #4c7d1b; $custom-light: #83a35f; $custom-dark: #000000;
JSON
{
"hex": "#4c7d1b",
"rgb": {
"r": 76,
"g": 125,
"b": 27
},
"hsl": {
"h": 90,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.53498,
"c": 0.13657,
"h": 132.9
},
"luminance": 0.16283
}Semantic roles & 50–950 ramp
primary
#4C7D1B
secondary
#7A43B1
accent
#40E794
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79