#487A1C#487A1C
#487A1C is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.134 H 133.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #487A1C |
|---|---|
| RGB | rgb(72, 122, 28) |
| HSL | hsl(92, 63%, 29%) |
| HSV | hsv(92, 77%, 48%) |
| CMYK | cmyk(41%, 0%, 77%, 52.2%) |
| CIE-LAB | lab(46.15, -33.10, 43.27) |
| CIE-LCH | lch(46.15, 54.48, 127.41°) |
| OKLab | oklab(52.47% -0.0929 0.0969) |
| OKLCH | oklch(52.47% 0.134 133.8) |
| XYZ | xyz(9.8414, 15.3801, 3.5485) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.45
Tree Green
#2A7E19
ΔE00 4.23
Avocado
#568203
ΔE00 4.87
Dirty Green
#667E2C
ΔE00 5.98
Green
#008000
ΔE00 6.18
Swamp
#698339
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#487A1C #4E1C7A
analogous
#777A1C #487A1C #1C7A1F
triadic
#487A1C #1C487A #7A1C48
tetradic
#487A1C #1C777A #4E1C7A #7A1F1C
square
#487A1C #1C777A #4E1C7A #7A1F1C
split-complementary
#487A1C #1F1C7A #7A1C77
monochromatic
#0F1906 #2B4811 #487A1C #65AC27 #83D33E
Accessibility & contrast
On white
5.15
#487A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#487A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #487A1C
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##487A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##487A1C | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7009
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #487a1c; /* rgb */ color: rgb(72, 122, 28); /* oklch */ color: oklch(52.5% 0.134 133.8);
Tailwind
colors: {
custom: {
50: '#80a15f',
500: '#487a1c',
950: '#000000',
},
}SCSS
$custom: #487a1c; $custom-light: #80a15f; $custom-dark: #000000;
JSON
{
"hex": "#487a1c",
"rgb": {
"r": 72,
"g": 122,
"b": 28
},
"hsl": {
"h": 91.915,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.52469,
"c": 0.13422,
"h": 133.8
},
"luminance": 0.15381
}Semantic roles & 50–950 ramp
primary
#487A1C
secondary
#7C44AE
accent
#42E699
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79