#488C16#488C16
#488C16 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.160 H 135.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #488C16 |
|---|---|
| RGB | rgb(72, 140, 22) |
| HSL | hsl(95, 73%, 32%) |
| HSV | hsv(95, 84%, 55%) |
| CMYK | cmyk(48.6%, 0%, 84.3%, 45.1%) |
| CIE-LAB | lab(52.05, -41.14, 50.77) |
| CIE-LCH | lch(52.05, 65.35, 129.02°) |
| OKLab | oklab(57.3% -0.1149 0.1117) |
| OKLCH | oklch(57.3% 0.16 135.8) |
| XYZ | xyz(12.1951, 20.1910, 4.0136) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.39
Mossy Green
#638B27
ΔE00 4.38
Forestgreen (CSS)
#228B22
ΔE00 4.62
Dark Grass Green
#388004
ΔE00 4.72
Avocado
#568203
ΔE00 4.80
True Green
#089404
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#488C16 #5A168C
analogous
#838C16 #488C16 #168C1F
triadic
#488C16 #16488C #8C1648
tetradic
#488C16 #16838C #5A168C #8C1F16
square
#488C16 #16838C #5A168C #8C1F16
split-complementary
#488C16 #1F168C #8C1683
monochromatic
#122205 #2D570E #488C16 #63C11E #82E03C
Accessibility & contrast
On white
4.17
#488C16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#488C16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #488C16
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##488C16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##488C16 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#458677
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #488c16; /* rgb */ color: rgb(72, 140, 22); /* oklch */ color: oklch(57.3% 0.160 135.8);
Tailwind
colors: {
custom: {
50: '#82ae60',
500: '#488c16',
950: '#000000',
},
}SCSS
$custom: #488c16; $custom-light: #82ae60; $custom-dark: #000000;
JSON
{
"hex": "#488c16",
"rgb": {
"r": 72,
"g": 140,
"b": 22
},
"hsl": {
"h": 94.576,
"s": 72.84,
"l": 31.765
},
"oklch": {
"l": 0.573,
"c": 0.16024,
"h": 135.8
},
"luminance": 0.20192
}Semantic roles & 50–950 ramp
primary
#488C16
secondary
#893EC0
accent
#38F0A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79