#2A8B2F#2A8B2F
#2A8B2F is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.157 H 143.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8B2F |
|---|---|
| RGB | rgb(42, 139, 47) |
| HSL | hsl(123, 54%, 35%) |
| HSV | hsv(123, 70%, 55%) |
| CMYK | cmyk(69.8%, 0%, 66.2%, 45.5%) |
| CIE-LAB | lab(50.88, -46.83, 39.95) |
| CIE-LCH | lch(50.88, 61.56, 139.53°) |
| OKLab | oklab(56.1% -0.1269 0.0928) |
| OKLCH | oklch(56.1% 0.157 143.8) |
| XYZ | xyz(10.6999, 19.1616, 5.8234) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.66
Emerald Green
#028F1E
ΔE00 2.74
Kelley Green
#009337
ΔE00 3.28
Irish Green
#019529
ΔE00 3.77
Tree Green
#2A7E19
ΔE00 5.05
True Green
#089404
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8B2F #8B2A86
analogous
#558B2A #2A8B2F #2A8B5F
triadic
#2A8B2F #2F2A8B #8B2F2A
tetradic
#2A8B2F #2A558B #8B2A86 #8B5F2A
square
#2A8B2F #2A558B #8B2A86 #8B5F2A
split-complementary
#2A8B2F #5F2A8B #8B2A55
monochromatic
#0E2D0F #1C5C1F #2A8B2F #38BA3F #60CF66
Accessibility & contrast
On white
4.35
#2A8B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#2A8B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8B2F
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8B2F | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#0D8778
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2a8b2f; /* rgb */ color: rgb(42, 139, 47); /* oklch */ color: oklch(56.1% 0.157 143.8);
Tailwind
colors: {
custom: {
50: '#72ae6c',
500: '#2a8b2f',
950: '#000000',
},
}SCSS
$custom: #2a8b2f; $custom-light: #72ae6c; $custom-dark: #000000;
JSON
{
"hex": "#2a8b2f",
"rgb": {
"r": 42,
"g": 139,
"b": 47
},
"hsl": {
"h": 123.093,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.56099,
"c": 0.1572,
"h": 143.8
},
"luminance": 0.19163
}Semantic roles & 50–950 ramp
primary
#2A8B2F
secondary
#B55CB0
accent
#4BD5DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A