#4D9D1F#4D9D1F
#4D9D1F is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.1% C 0.174 H 137.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4D9D1F |
|---|---|
| RGB | rgb(77, 157, 31) |
| HSL | hsl(98, 67%, 37%) |
| HSV | hsv(98, 80%, 62%) |
| CMYK | cmyk(51%, 0%, 80.3%, 38.4%) |
| CIE-LAB | lab(57.84, -45.89, 53.53) |
| CIE-LCH | lch(57.84, 70.51, 130.60°) |
| OKLab | oklab(62.13% -0.1275 0.1187) |
| OKLCH | oklch(62.13% 0.174 137) |
| XYZ | xyz(15.3644, 25.7895, 5.4643) |
| Luminance | 0.2579 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.69
Grass Green
#3F9B0B
ΔE00 1.70
Lawn Green
#4DA409
ΔE00 2.68
Grass
#5CAC2D
ΔE00 4.79
Leaf Green
#5CA904
ΔE00 4.79
Mid Green
#50A747
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D9D1F #6F1F9D
analogous
#8C9D1F #4D9D1F #1F9D30
triadic
#4D9D1F #1F4D9D #9D1F4D
tetradic
#4D9D1F #1F8C9D #6F1F9D #9D301F
square
#4D9D1F #1F8C9D #6F1F9D #9D301F
split-complementary
#4D9D1F #301F9D #9D1F8C
monochromatic
#1B370B #346A15 #4D9D1F #66D029 #89DE58
Accessibility & contrast
On white
3.41
#4D9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#4D9D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D9D1F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D9D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D9D1F | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#489786
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #4d9d1f; /* rgb */ color: rgb(77, 157, 31); /* oklch */ color: oklch(62.1% 0.174 137.0);
Tailwind
colors: {
custom: {
50: '#87bb66',
500: '#4d9d1f',
950: '#000000',
},
}SCSS
$custom: #4d9d1f; $custom-light: #87bb66; $custom-dark: #000000;
JSON
{
"hex": "#4d9d1f",
"rgb": {
"r": 77,
"g": 157,
"b": 31
},
"hsl": {
"h": 98.095,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.6213,
"c": 0.17421,
"h": 137
},
"luminance": 0.25791
}Semantic roles & 50–950 ramp
primary
#4D9D1F
secondary
#9A56C2
accent
#3EEAAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A