#4D9F12#4D9F12
#4D9F12 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.6% C 0.182 H 136.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4D9F12 |
|---|---|
| RGB | rgb(77, 159, 18) |
| HSL | hsl(95, 80%, 35%) |
| HSV | hsv(95, 89%, 62%) |
| CMYK | cmyk(51.6%, 0%, 88.7%, 37.6%) |
| CIE-LAB | lab(58.43, -47.25, 57.43) |
| CIE-LCH | lch(58.43, 74.37, 129.45°) |
| OKLab | oklab(62.6% -0.1318 0.1251) |
| OKLCH | oklch(62.6% 0.182 136.5) |
| XYZ | xyz(15.5674, 26.4166, 4.8507) |
| Luminance | 0.2642 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.55
Lawn Green
#4DA409
ΔE00 1.63
Grass Green
#3F9B0B
ΔE00 1.95
Leaf Green
#5CA904
ΔE00 3.79
Grass
#5CAC2D
ΔE00 4.33
Leaf
#71AA34
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D9F12 #64129F
analogous
#939F12 #4D9F12 #129F1E
triadic
#4D9F12 #124D9F #9F124D
tetradic
#4D9F12 #12939F #64129F #9F1E12
square
#4D9F12 #12939F #64129F #9F1E12
split-complementary
#4D9F12 #1E129F #9F1293
monochromatic
#183106 #32680C #4D9F12 #68D618 #88EA42
Accessibility & contrast
On white
3.34
#4D9F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#4D9F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D9F12
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D9F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D9F12 | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#489987
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #4d9f12; /* rgb */ color: rgb(77, 159, 18); /* oklch */ color: oklch(62.6% 0.182 136.5);
Tailwind
colors: {
custom: {
50: '#88bc61',
500: '#4d9f12',
950: '#000000',
},
}SCSS
$custom: #4d9f12; $custom-light: #88bc61; $custom-dark: #000000;
JSON
{
"hex": "#4d9f12",
"rgb": {
"r": 77,
"g": 159,
"b": 18
},
"hsl": {
"h": 94.894,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.62603,
"c": 0.1817,
"h": 136.5
},
"luminance": 0.26418
}Semantic roles & 50–950 ramp
primary
#4D9F12
secondary
#9143CA
accent
#32F6A4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A