#4D9A1C#4D9A1C
#4D9A1C is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.3% C 0.172 H 136.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4D9A1C |
|---|---|
| RGB | rgb(77, 154, 28) |
| HSL | hsl(97, 69%, 36%) |
| HSV | hsv(97, 82%, 60%) |
| CMYK | cmyk(50%, 0%, 81.8%, 39.6%) |
| CIE-LAB | lab(56.85, -44.87, 53.52) |
| CIE-LCH | lch(56.85, 69.84, 129.98°) |
| OKLab | oklab(61.32% -0.1249 0.1182) |
| OKLCH | oklch(61.32% 0.172 136.6) |
| XYZ | xyz(14.8253, 24.7718, 5.0986) |
| Luminance | 0.2477 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.56
Grassy Green
#419C03
ΔE00 1.69
Lawn Green
#4DA409
ΔE00 3.43
True Green
#089404
ΔE00 5.13
Leaf Green
#5CA904
ΔE00 5.47
Grass
#5CAC2D
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D9A1C #691C9A
analogous
#8C9A1C #4D9A1C #1C9A2A
triadic
#4D9A1C #1C4D9A #9A1C4D
tetradic
#4D9A1C #1C8C9A #691C9A #9A2A1C
square
#4D9A1C #1C8C9A #691C9A #9A2A1C
split-complementary
#4D9A1C #2A1C9A #9A1C8C
monochromatic
#193209 #336613 #4D9A1C #67CE25 #88DF51
Accessibility & contrast
On white
3.53
#4D9A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#4D9A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D9A1C
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D9A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D9A1C | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#499483
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #4d9a1c; /* rgb */ color: rgb(77, 154, 28); /* oklch */ color: oklch(61.3% 0.172 136.6);
Tailwind
colors: {
custom: {
50: '#87b864',
500: '#4d9a1c',
950: '#000000',
},
}SCSS
$custom: #4d9a1c; $custom-light: #87b864; $custom-dark: #000000;
JSON
{
"hex": "#4d9a1c",
"rgb": {
"r": 77,
"g": 154,
"b": 28
},
"hsl": {
"h": 96.667,
"s": 69.231,
"l": 35.686
},
"oklch": {
"l": 0.61315,
"c": 0.172,
"h": 136.6
},
"luminance": 0.24773
}Semantic roles & 50–950 ramp
primary
#4D9A1C
secondary
#9650C2
accent
#3CECA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A