#2D861F#2D861F
#2D861F is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.161 H 141.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2D861F |
|---|---|
| RGB | rgb(45, 134, 31) |
| HSL | hsl(112, 62%, 32%) |
| HSV | hsv(112, 77%, 53%) |
| CMYK | cmyk(66.4%, 0%, 76.9%, 47.5%) |
| CIE-LAB | lab(49.14, -45.88, 44.76) |
| CIE-LCH | lch(49.14, 64.09, 135.71°) |
| OKLab | oklab(54.64% -0.1254 0.1008) |
| OKLCH | oklch(54.64% 0.161 141.2) |
| XYZ | xyz(9.8541, 17.7060, 4.1944) |
| Luminance | 0.1771 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.92
Tree Green
#2A7E19
ΔE00 2.86
Dark Grass Green
#388004
ΔE00 3.44
Green
#008000
ΔE00 3.45
Emerald Green
#028F1E
ΔE00 3.54
True Green
#089404
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D861F #781F86
analogous
#60861F #2D861F #1F8645
triadic
#2D861F #1F2D86 #861F2D
tetradic
#2D861F #1F6086 #781F86 #86451F
square
#2D861F #1F6086 #781F86 #86451F
split-complementary
#2D861F #451F86 #861F60
monochromatic
#0C2308 #1C5414 #2D861F #3EB82A #5DD54A
Accessibility & contrast
On white
4.62
#2D861F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#2D861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2D861F
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D861F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D861F | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#1D8272
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2d861f; /* rgb */ color: rgb(45, 134, 31); /* oklch */ color: oklch(54.6% 0.161 141.2);
Tailwind
colors: {
custom: {
50: '#73aa62',
500: '#2d861f',
950: '#000000',
},
}SCSS
$custom: #2d861f; $custom-light: #73aa62; $custom-dark: #000000;
JSON
{
"hex": "#2d861f",
"rgb": {
"r": 45,
"g": 134,
"b": 31
},
"hsl": {
"h": 111.845,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.54642,
"c": 0.16085,
"h": 141.2
},
"luminance": 0.17707
}Semantic roles & 50–950 ramp
primary
#2D861F
secondary
#A949B8
accent
#42E5CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A