#4D9C1F#4D9C1F
#4D9C1F is a mid, vivid yellow-green. Relative luminance 0.255; OKLCH L 61.9% C 0.173 H 137.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4D9C1F |
|---|---|
| RGB | rgb(77, 156, 31) |
| HSL | hsl(98, 67%, 37%) |
| HSV | hsv(98, 80%, 61%) |
| CMYK | cmyk(50.6%, 0%, 80.1%, 38.8%) |
| CIE-LAB | lab(57.51, -45.50, 53.23) |
| CIE-LCH | lch(57.51, 70.02, 130.52°) |
| OKLab | oklab(61.86% -0.1264 0.1181) |
| OKLCH | oklch(61.86% 0.173 137) |
| XYZ | xyz(15.1959, 25.4526, 5.4082) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.63
Grassy Green
#419C03
ΔE00 1.68
Lawn Green
#4DA409
ΔE00 2.96
Leaf Green
#5CA904
ΔE00 5.05
Grass
#5CAC2D
ΔE00 5.09
True Green
#089404
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D9C1F #6E1F9C
analogous
#8C9C1F #4D9C1F #1F9C30
triadic
#4D9C1F #1F4D9C #9C1F4D
tetradic
#4D9C1F #1F8C9C #6E1F9C #9C301F
square
#4D9C1F #1F8C9C #6E1F9C #9C301F
split-complementary
#4D9C1F #301F9C #9C1F8C
monochromatic
#1B360B #346915 #4D9C1F #66CF29 #89DE58
Accessibility & contrast
On white
3.45
#4D9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#4D9C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D9C1F
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D9C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D9C1F | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#489685
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #4d9c1f; /* rgb */ color: rgb(77, 156, 31); /* oklch */ color: oklch(61.9% 0.173 137.0);
Tailwind
colors: {
custom: {
50: '#87ba66',
500: '#4d9c1f',
950: '#000000',
},
}SCSS
$custom: #4d9c1f; $custom-light: #87ba66; $custom-dark: #000000;
JSON
{
"hex": "#4d9c1f",
"rgb": {
"r": 77,
"g": 156,
"b": 31
},
"hsl": {
"h": 97.92,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.61864,
"c": 0.173,
"h": 137
},
"luminance": 0.25454
}Semantic roles & 50–950 ramp
primary
#4D9C1F
secondary
#9A55C1
accent
#3EEAAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A