#4A8F1C#4A8F1C
#4A8F1C is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.2% C 0.160 H 136.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4A8F1C |
|---|---|
| RGB | rgb(74, 143, 28) |
| HSL | hsl(96, 67%, 34%) |
| HSV | hsv(96, 80%, 56%) |
| CMYK | cmyk(48.3%, 0%, 80.4%, 43.9%) |
| CIE-LAB | lab(53.15, -41.40, 50.03) |
| CIE-LCH | lch(53.15, 64.94, 129.61°) |
| OKLab | oklab(58.24% -0.1154 0.111) |
| OKLCH | oklch(58.24% 0.16 136.1) |
| XYZ | xyz(12.8558, 21.1838, 4.5098) |
| Luminance | 0.2119 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.61
Grass Green
#3F9B0B
ΔE00 4.27
Mossy Green
#638B27
ΔE00 4.38
Grassy Green
#419C03
ΔE00 4.65
True Green
#089404
ΔE00 4.68
Forestgreen (CSS)
#228B22
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A8F1C #611C8F
analogous
#838F1C #4A8F1C #1C8F27
triadic
#4A8F1C #1C4A8F #8F1C4A
tetradic
#4A8F1C #1C838F #611C8F #8F271C
square
#4A8F1C #1C838F #611C8F #8F271C
split-complementary
#4A8F1C #271C8F #8F1C83
monochromatic
#152908 #305C12 #4A8F1C #64C226 #84DC4A
Accessibility & contrast
On white
4.01
#4A8F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#4A8F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A8F1C
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A8F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A8F1C | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#47897A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4a8f1c; /* rgb */ color: rgb(74, 143, 28); /* oklch */ color: oklch(58.2% 0.160 136.1);
Tailwind
colors: {
custom: {
50: '#84b062',
500: '#4a8f1c',
950: '#000000',
},
}SCSS
$custom: #4a8f1c; $custom-light: #84b062; $custom-dark: #000000;
JSON
{
"hex": "#4a8f1c",
"rgb": {
"r": 74,
"g": 143,
"b": 28
},
"hsl": {
"h": 96,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.58236,
"c": 0.16011,
"h": 136.1
},
"luminance": 0.21185
}Semantic roles & 50–950 ramp
primary
#4A8F1C
secondary
#8F49BE
accent
#3EEAA5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A