#488D1C#488D1C
#488D1C is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.159 H 136.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #488D1C |
|---|---|
| RGB | rgb(72, 141, 28) |
| HSL | hsl(97, 67%, 33%) |
| HSV | hsv(97, 80%, 55%) |
| CMYK | cmyk(48.9%, 0%, 80.1%, 44.7%) |
| CIE-LAB | lab(52.41, -41.23, 49.30) |
| CIE-LCH | lch(52.41, 64.27, 129.91°) |
| OKLab | oklab(57.6% -0.1148 0.1095) |
| OKLCH | oklch(57.6% 0.159 136.4) |
| XYZ | xyz(12.4066, 20.5105, 4.4036) |
| Luminance | 0.2051 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.70
Forestgreen (CSS)
#228B22
ΔE00 4.35
Mossy Green
#638B27
ΔE00 4.47
True Green
#089404
ΔE00 4.75
Grass Green
#3F9B0B
ΔE00 4.92
Emerald Green
#028F1E
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#488D1C #611C8D
analogous
#808D1C #488D1C #1C8D28
triadic
#488D1C #1C488D #8D1C48
tetradic
#488D1C #1C808D #611C8D #8D281C
square
#488D1C #1C808D #611C8D #8D281C
split-complementary
#488D1C #281C8D #8D1C80
monochromatic
#142708 #2E5A12 #488D1C #62C026 #82DB49
Accessibility & contrast
On white
4.12
#488D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#488D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #488D1C
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##488D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##488D1C | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#458878
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #488d1c; /* rgb */ color: rgb(72, 141, 28); /* oklch */ color: oklch(57.6% 0.159 136.4);
Tailwind
colors: {
custom: {
50: '#82af62',
500: '#488d1c',
950: '#000000',
},
}SCSS
$custom: #488d1c; $custom-light: #82af62; $custom-dark: #000000;
JSON
{
"hex": "#488d1c",
"rgb": {
"r": 72,
"g": 141,
"b": 28
},
"hsl": {
"h": 96.637,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.57603,
"c": 0.15865,
"h": 136.4
},
"luminance": 0.20511
}Semantic roles & 50–950 ramp
primary
#488D1C
secondary
#8F48BD
accent
#3EEAA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A