#4C8F1C#4C8F1C
#4C8F1C is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.3% C 0.159 H 135.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4C8F1C |
|---|---|
| RGB | rgb(76, 143, 28) |
| HSL | hsl(95, 67%, 34%) |
| HSV | hsv(95, 80%, 56%) |
| CMYK | cmyk(46.9%, 0%, 80.4%, 43.9%) |
| CIE-LAB | lab(53.24, -40.74, 50.14) |
| CIE-LCH | lch(53.24, 64.61, 129.10°) |
| OKLab | oklab(58.33% -0.1138 0.1112) |
| OKLCH | oklch(58.33% 0.159 135.7) |
| XYZ | xyz(13.0122, 21.2644, 4.5172) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.35
Mossy Green
#638B27
ΔE00 4.12
Grass Green
#3F9B0B
ΔE00 4.32
Grassy Green
#419C03
ΔE00 4.67
True Green
#089404
ΔE00 4.93
Moss Green (survey)
#658B38
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C8F1C #5F1C8F
analogous
#858F1C #4C8F1C #1C8F26
triadic
#4C8F1C #1C4C8F #8F1C4C
tetradic
#4C8F1C #1C858F #5F1C8F #8F261C
square
#4C8F1C #1C858F #5F1C8F #8F261C
split-complementary
#4C8F1C #261C8F #8F1C85
monochromatic
#162908 #315C12 #4C8F1C #67C226 #87DC4A
Accessibility & contrast
On white
4.00
#4C8F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#4C8F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C8F1C
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C8F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C8F1C | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#4A897A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4c8f1c; /* rgb */ color: rgb(76, 143, 28); /* oklch */ color: oklch(58.3% 0.159 135.7);
Tailwind
colors: {
custom: {
50: '#85b062',
500: '#4c8f1c',
950: '#000000',
},
}SCSS
$custom: #4c8f1c; $custom-light: #85b062; $custom-dark: #000000;
JSON
{
"hex": "#4c8f1c",
"rgb": {
"r": 76,
"g": 143,
"b": 28
},
"hsl": {
"h": 94.957,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.58332,
"c": 0.15907,
"h": 135.7
},
"luminance": 0.21265
}Semantic roles & 50–950 ramp
primary
#4C8F1C
secondary
#8D49BE
accent
#3EEAA2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A