#488A1C#488A1C
#488A1C is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.155 H 136.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #488A1C |
|---|---|
| RGB | rgb(72, 138, 28) |
| HSL | hsl(96, 66%, 33%) |
| HSV | hsv(96, 80%, 54%) |
| CMYK | cmyk(47.8%, 0%, 79.7%, 45.9%) |
| CIE-LAB | lab(51.43, -40.00, 48.36) |
| CIE-LCH | lch(51.43, 62.76, 129.59°) |
| OKLab | oklab(56.79% -0.1115 0.1075) |
| OKLCH | oklch(56.79% 0.155 136) |
| XYZ | xyz(11.9703, 19.6377, 4.2581) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.70
Dark Grass Green
#388004
ΔE00 4.14
Forestgreen (CSS)
#228B22
ΔE00 4.26
Mossy Green
#638B27
ΔE00 4.41
Avocado
#568203
ΔE00 4.63
Moss Green (survey)
#658B38
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#488A1C #5E1C8A
analogous
#7F8A1C #488A1C #1C8A27
triadic
#488A1C #1C488A #8A1C48
tetradic
#488A1C #1C7F8A #5E1C8A #8A271C
square
#488A1C #1C7F8A #5E1C8A #8A271C
split-complementary
#488A1C #271C8A #8A1C7F
monochromatic
#132407 #2D5712 #488A1C #63BD26 #82DA47
Accessibility & contrast
On white
4.26
#488A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#488A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #488A1C
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##488A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##488A1C | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#867928
Tritanopia (blue-blind)
#458576
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #488a1c; /* rgb */ color: rgb(72, 138, 28); /* oklch */ color: oklch(56.8% 0.155 136.0);
Tailwind
colors: {
custom: {
50: '#82ad62',
500: '#488a1c',
950: '#000000',
},
}SCSS
$custom: #488a1c; $custom-light: #82ad62; $custom-dark: #000000;
JSON
{
"hex": "#488a1c",
"rgb": {
"r": 72,
"g": 138,
"b": 28
},
"hsl": {
"h": 96,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.56794,
"c": 0.1549,
"h": 136
},
"luminance": 0.19639
}Semantic roles & 50–950 ramp
primary
#488A1C
secondary
#8D46BB
accent
#3FE9A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A