#488F1C#488F1C
#488F1C is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.1% C 0.161 H 136.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #488F1C |
|---|---|
| RGB | rgb(72, 143, 28) |
| HSL | hsl(97, 67%, 34%) |
| HSV | hsv(97, 80%, 56%) |
| CMYK | cmyk(49.7%, 0%, 80.4%, 43.9%) |
| CIE-LAB | lab(53.06, -42.05, 49.92) |
| CIE-LCH | lch(53.06, 65.26, 130.11°) |
| OKLab | oklab(58.14% -0.117 0.1108) |
| OKLCH | oklch(58.14% 0.161 136.6) |
| XYZ | xyz(12.7042, 21.1056, 4.5027) |
| Luminance | 0.2111 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.86
Grass Green
#3F9B0B
ΔE00 4.24
True Green
#089404
ΔE00 4.44
Forestgreen (CSS)
#228B22
ΔE00 4.55
Mossy Green
#638B27
ΔE00 4.63
Grassy Green
#419C03
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#488F1C #631C8F
analogous
#818F1C #488F1C #1C8F29
triadic
#488F1C #1C488F #8F1C48
tetradic
#488F1C #1C818F #631C8F #8F291C
square
#488F1C #1C818F #631C8F #8F291C
split-complementary
#488F1C #291C8F #8F1C81
monochromatic
#142908 #2E5C12 #488F1C #62C226 #82DC4A
Accessibility & contrast
On white
4.02
#488F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#488F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #488F1C
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##488F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##488F1C | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#448A7A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #488f1c; /* rgb */ color: rgb(72, 143, 28); /* oklch */ color: oklch(58.1% 0.161 136.6);
Tailwind
colors: {
custom: {
50: '#82b062',
500: '#488f1c',
950: '#000000',
},
}SCSS
$custom: #488f1c; $custom-light: #82b062; $custom-dark: #000000;
JSON
{
"hex": "#488f1c",
"rgb": {
"r": 72,
"g": 143,
"b": 28
},
"hsl": {
"h": 97.043,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.58142,
"c": 0.16113,
"h": 136.6
},
"luminance": 0.21106
}Semantic roles & 50–950 ramp
primary
#488F1C
secondary
#9149BE
accent
#3EEAA8
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A