#2A8C1F#2A8C1F
#2A8C1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.169 H 141.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8C1F |
|---|---|
| RGB | rgb(42, 140, 31) |
| HSL | hsl(114, 64%, 34%) |
| HSV | hsv(114, 78%, 55%) |
| CMYK | cmyk(70%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(51.09, -48.66, 46.66) |
| CIE-LCH | lch(51.09, 67.42, 136.20°) |
| OKLab | oklab(56.24% -0.1327 0.1048) |
| OKLCH | oklch(56.24% 0.169 141.7) |
| XYZ | xyz(10.5797, 19.3462, 4.4727) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.93
Emerald Green
#028F1E
ΔE00 1.89
True Green
#089404
ΔE00 3.41
Irish Green
#019529
ΔE00 3.55
Kelley Green
#009337
ΔE00 4.35
Dark Grass Green
#388004
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8C1F #811F8C
analogous
#608C1F #2A8C1F #1F8C4A
triadic
#2A8C1F #1F2A8C #8C1F2A
tetradic
#2A8C1F #1F608C #811F8C #8C4A1F
square
#2A8C1F #1F608C #811F8C #8C4A1F
split-complementary
#2A8C1F #4A1F8C #8C1F60
monochromatic
#0C2809 #1B5A14 #2A8C1F #39BE2A #5CD84E
Accessibility & contrast
On white
4.31
#2A8C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#2A8C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8C1F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8C1F | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#138877
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2a8c1f; /* rgb */ color: rgb(42, 140, 31); /* oklch */ color: oklch(56.2% 0.169 141.7);
Tailwind
colors: {
custom: {
50: '#73af63',
500: '#2a8c1f',
950: '#000000',
},
}SCSS
$custom: #2a8c1f; $custom-light: #73af63; $custom-dark: #000000;
JSON
{
"hex": "#2a8c1f",
"rgb": {
"r": 42,
"g": 140,
"b": 31
},
"hsl": {
"h": 113.945,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.56237,
"c": 0.16909,
"h": 141.7
},
"luminance": 0.19347
}Semantic roles & 50–950 ramp
primary
#2A8C1F
secondary
#AF4CBB
accent
#41E7D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A