#2A862D#2A862D
#2A862D is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.152 H 143.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A862D |
|---|---|
| RGB | rgb(42, 134, 45) |
| HSL | hsl(122, 52%, 35%) |
| HSV | hsv(122, 69%, 53%) |
| CMYK | cmyk(68.7%, 0%, 66.4%, 47.5%) |
| CIE-LAB | lab(49.17, -45.22, 38.97) |
| CIE-LCH | lch(49.17, 59.70, 139.25°) |
| OKLab | oklab(54.68% -0.1226 0.0905) |
| OKLCH | oklch(54.68% 0.152 143.6) |
| XYZ | xyz(9.9530, 17.7309, 5.3800) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.47
Tree Green
#2A7E19
ΔE00 3.55
Emerald Green
#028F1E
ΔE00 3.94
Green
#008000
ΔE00 4.50
Darkish Green
#287C37
ΔE00 4.58
Kelley Green
#009337
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A862D #862A83
analogous
#55862A #2A862D #2A865B
triadic
#2A862D #2D2A86 #862D2A
tetradic
#2A862D #2A5586 #862A83 #865B2A
square
#2A862D #2A5586 #862A83 #865B2A
split-complementary
#2A862D #5B2A86 #862A55
monochromatic
#0D290E #1B571D #2A862D #39B53D #5ECD62
Accessibility & contrast
On white
4.62
#2A862D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#2A862D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2A862D
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A862D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A862D | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897922
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#128273
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2a862d; /* rgb */ color: rgb(42, 134, 45); /* oklch */ color: oklch(54.7% 0.152 143.6);
Tailwind
colors: {
custom: {
50: '#71aa6a',
500: '#2a862d',
950: '#000000',
},
}SCSS
$custom: #2a862d; $custom-light: #71aa6a; $custom-dark: #000000;
JSON
{
"hex": "#2a862d",
"rgb": {
"r": 42,
"g": 134,
"b": 45
},
"hsl": {
"h": 121.957,
"s": 52.273,
"l": 34.51
},
"oklch": {
"l": 0.5468,
"c": 0.1524,
"h": 143.6
},
"luminance": 0.17732
}Semantic roles & 50–950 ramp
primary
#2A862D
secondary
#B25AAF
accent
#4CD7DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A