#488D1F#488D1F
#488D1F is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.157 H 136.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #488D1F |
|---|---|
| RGB | rgb(72, 141, 31) |
| HSL | hsl(98, 64%, 34%) |
| HSV | hsv(98, 78%, 55%) |
| CMYK | cmyk(48.9%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(52.43, -41.05, 48.31) |
| CIE-LCH | lch(52.43, 63.39, 130.36°) |
| OKLab | oklab(57.62% -0.1141 0.1079) |
| OKLCH | oklch(57.62% 0.157 136.6) |
| XYZ | xyz(12.4443, 20.5256, 4.6022) |
| Luminance | 0.2053 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.88
Forestgreen (CSS)
#228B22
ΔE00 4.19
Mossy Green
#638B27
ΔE00 4.52
True Green
#089404
ΔE00 4.77
Emerald Green
#028F1E
ΔE00 4.94
Grass Green
#3F9B0B
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#488D1F #641F8D
analogous
#7F8D1F #488D1F #1F8D2D
triadic
#488D1F #1F488D #8D1F48
tetradic
#488D1F #1F7F8D #641F8D #8D2D1F
square
#488D1F #1F7F8D #641F8D #8D2D1F
split-complementary
#488D1F #2D1F8D #8D1F7F
monochromatic
#152909 #2E5B14 #488D1F #62BF2A #82D84E
Accessibility & contrast
On white
4.11
#488D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#488D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #488D1F
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##488D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##488D1F | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#448878
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #488d1f; /* rgb */ color: rgb(72, 141, 31); /* oklch */ color: oklch(57.6% 0.157 136.6);
Tailwind
colors: {
custom: {
50: '#82af64',
500: '#488d1f',
950: '#000000',
},
}SCSS
$custom: #488d1f; $custom-light: #82af64; $custom-dark: #000000;
JSON
{
"hex": "#488d1f",
"rgb": {
"r": 72,
"g": 141,
"b": 31
},
"hsl": {
"h": 97.636,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.57622,
"c": 0.15705,
"h": 136.6
},
"luminance": 0.20526
}Semantic roles & 50–950 ramp
primary
#488D1F
secondary
#924DBB
accent
#41E7A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A