#4C9F12#4C9F12
#4C9F12 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.6% C 0.182 H 136.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4C9F12 |
|---|---|
| RGB | rgb(76, 159, 18) |
| HSL | hsl(95, 80%, 35%) |
| HSV | hsv(95, 89%, 62%) |
| CMYK | cmyk(52.2%, 0%, 88.7%, 37.6%) |
| CIE-LAB | lab(58.39, -47.56, 57.38) |
| CIE-LCH | lch(58.39, 74.53, 129.65°) |
| OKLab | oklab(62.56% -0.1325 0.125) |
| OKLCH | oklch(62.56% 0.182 136.7) |
| XYZ | xyz(15.4874, 26.3753, 4.8470) |
| Luminance | 0.2638 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.47
Lawn Green
#4DA409
ΔE00 1.65
Grass Green
#3F9B0B
ΔE00 1.86
Leaf Green
#5CA904
ΔE00 3.86
Grass
#5CAC2D
ΔE00 4.36
Leaf
#71AA34
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C9F12 #65129F
analogous
#939F12 #4C9F12 #129F1E
triadic
#4C9F12 #124C9F #9F124C
tetradic
#4C9F12 #12939F #65129F #9F1E12
square
#4C9F12 #12939F #65129F #9F1E12
split-complementary
#4C9F12 #1E129F #9F1293
monochromatic
#173106 #32680C #4C9F12 #66D618 #87EA42
Accessibility & contrast
On white
3.35
#4C9F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#4C9F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C9F12
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C9F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C9F12 | 1.00 | 3.35 | 6.28 | 6.28 |
| #FFFFFF | 3.35 | 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)
#479987
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #4c9f12; /* rgb */ color: rgb(76, 159, 18); /* oklch */ color: oklch(62.6% 0.182 136.7);
Tailwind
colors: {
custom: {
50: '#87bc61',
500: '#4c9f12',
950: '#000000',
},
}SCSS
$custom: #4c9f12; $custom-light: #87bc61; $custom-dark: #000000;
JSON
{
"hex": "#4c9f12",
"rgb": {
"r": 76,
"g": 159,
"b": 18
},
"hsl": {
"h": 95.319,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.6256,
"c": 0.18218,
"h": 136.7
},
"luminance": 0.26376
}Semantic roles & 50–950 ramp
primary
#4C9F12
secondary
#9243CA
accent
#32F6A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A