#2A8D1F#2A8D1F
#2A8D1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.170 H 141.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8D1F |
|---|---|
| RGB | rgb(42, 141, 31) |
| HSL | hsl(114, 64%, 34%) |
| HSV | hsv(114, 78%, 55%) |
| CMYK | cmyk(70.2%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(51.43, -49.01, 47.00) |
| CIE-LCH | lch(51.43, 67.90, 136.20°) |
| OKLab | oklab(56.52% -0.1336 0.1055) |
| OKLCH | oklch(56.52% 0.17 141.7) |
| XYZ | xyz(10.7265, 19.6398, 4.5216) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.16
Emerald Green
#028F1E
ΔE00 1.77
True Green
#089404
ΔE00 3.11
Irish Green
#019529
ΔE00 3.28
Kelley Green
#009337
ΔE00 4.23
Dark Grass Green
#388004
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8D1F #821F8D
analogous
#618D1F #2A8D1F #1F8D4B
triadic
#2A8D1F #1F2A8D #8D1F2A
tetradic
#2A8D1F #1F618D #821F8D #8D4B1F
square
#2A8D1F #1F618D #821F8D #8D4B1F
split-complementary
#2A8D1F #4B1F8D #8D1F61
monochromatic
#0C2909 #1B5B14 #2A8D1F #39BF2A #5CD84E
Accessibility & contrast
On white
4.26
#2A8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#2A8D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8D1F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8D1F | 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)
#917F05
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#128878
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2a8d1f; /* rgb */ color: rgb(42, 141, 31); /* oklch */ color: oklch(56.5% 0.170 141.7);
Tailwind
colors: {
custom: {
50: '#73af63',
500: '#2a8d1f',
950: '#000000',
},
}SCSS
$custom: #2a8d1f; $custom-light: #73af63; $custom-dark: #000000;
JSON
{
"hex": "#2a8d1f",
"rgb": {
"r": 42,
"g": 141,
"b": 31
},
"hsl": {
"h": 114,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.56517,
"c": 0.17025,
"h": 141.7
},
"luminance": 0.19641
}Semantic roles & 50–950 ramp
primary
#2A8D1F
secondary
#B04DBB
accent
#41E7D6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A