#2D862D#2D862D
#2D862D is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.151 H 143.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2D862D |
|---|---|
| RGB | rgb(45, 134, 45) |
| HSL | hsl(120, 50%, 35%) |
| HSV | hsv(120, 66%, 53%) |
| CMYK | cmyk(66.4%, 0%, 66.4%, 47.5%) |
| CIE-LAB | lab(49.25, -44.57, 39.08) |
| CIE-LCH | lch(49.25, 59.28, 138.75°) |
| OKLab | oklab(54.77% -0.121 0.0907) |
| OKLCH | oklch(54.77% 0.151 143.2) |
| XYZ | xyz(10.0804, 17.7965, 5.3860) |
| Luminance | 0.1780 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.46
Tree Green
#2A7E19
ΔE00 3.51
Emerald Green
#028F1E
ΔE00 3.99
Green
#008000
ΔE00 4.56
Darkish Green
#287C37
ΔE00 4.67
Kelley Green
#009337
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D862D #862D86
analogous
#59862D #2D862D #2D8659
triadic
#2D862D #2D2D86 #862D2D
tetradic
#2D862D #2D5986 #862D86 #86592D
square
#2D862D #2D5986 #862D86 #86592D
split-complementary
#2D862D #592D86 #862D59
monochromatic
#0E2A0E #1E581E #2D862D #3CB43C #63CB63
Accessibility & contrast
On white
4.61
#2D862D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#2D862D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2D862D
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D862D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D862D | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A22
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#198273
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2d862d; /* rgb */ color: rgb(45, 134, 45); /* oklch */ color: oklch(54.8% 0.151 143.2);
Tailwind
colors: {
custom: {
50: '#72aa6a',
500: '#2d862d',
950: '#000000',
},
}SCSS
$custom: #2d862d; $custom-light: #72aa6a; $custom-dark: #000000;
JSON
{
"hex": "#2d862d",
"rgb": {
"r": 45,
"g": 134,
"b": 45
},
"hsl": {
"h": 120,
"s": 49.721,
"l": 35.098
},
"oklch": {
"l": 0.54769,
"c": 0.15123,
"h": 143.2
},
"luminance": 0.17798
}Semantic roles & 50–950 ramp
primary
#2D862D
secondary
#B15EB1
accent
#4FD9D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A