#488C1F#488C1F
#488C1F is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.156 H 136.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #488C1F |
|---|---|
| RGB | rgb(72, 140, 31) |
| HSL | hsl(97, 64%, 34%) |
| HSV | hsv(97, 78%, 55%) |
| CMYK | cmyk(48.6%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(52.10, -40.64, 47.99) |
| CIE-LCH | lch(52.10, 62.89, 130.26°) |
| OKLab | oklab(57.35% -0.113 0.1072) |
| OKLCH | oklch(57.35% 0.156 136.5) |
| XYZ | xyz(12.2975, 20.2320, 4.5532) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.85
Forestgreen (CSS)
#228B22
ΔE00 4.13
Mossy Green
#638B27
ΔE00 4.48
Dark Grass Green
#388004
ΔE00 4.81
True Green
#089404
ΔE00 4.96
Emerald Green
#028F1E
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#488C1F #631F8C
analogous
#7E8C1F #488C1F #1F8C2C
triadic
#488C1F #1F488C #8C1F48
tetradic
#488C1F #1F7E8C #631F8C #8C2C1F
square
#488C1F #1F7E8C #631F8C #8C2C1F
split-complementary
#488C1F #2C1F8C #8C1F7E
monochromatic
#142809 #2E5A14 #488C1F #62BE2A #82D84E
Accessibility & contrast
On white
4.16
#488C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#488C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #488C1F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##488C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##488C1F | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#458777
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #488c1f; /* rgb */ color: rgb(72, 140, 31); /* oklch */ color: oklch(57.4% 0.156 136.5);
Tailwind
colors: {
custom: {
50: '#82ae63',
500: '#488c1f',
950: '#000000',
},
}SCSS
$custom: #488c1f; $custom-light: #82ae63; $custom-dark: #000000;
JSON
{
"hex": "#488c1f",
"rgb": {
"r": 72,
"g": 140,
"b": 31
},
"hsl": {
"h": 97.431,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.57353,
"c": 0.15578,
"h": 136.5
},
"luminance": 0.20233
}Semantic roles & 50–950 ramp
primary
#488C1F
secondary
#914CBB
accent
#41E7A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A