#2D861C#2D861C
#2D861C is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.163 H 140.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2D861C |
|---|---|
| RGB | rgb(45, 134, 28) |
| HSL | hsl(110, 65%, 32%) |
| HSV | hsv(110, 79%, 53%) |
| CMYK | cmyk(66.4%, 0%, 79.1%, 47.5%) |
| CIE-LAB | lab(49.12, -46.10, 45.81) |
| CIE-LCH | lch(49.12, 64.99, 135.18°) |
| OKLab | oklab(54.62% -0.1261 0.1026) |
| OKLCH | oklch(54.62% 0.163 140.9) |
| XYZ | xyz(9.8164, 17.6909, 3.9958) |
| Luminance | 0.1769 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.01
Tree Green
#2A7E19
ΔE00 2.87
Dark Grass Green
#388004
ΔE00 3.20
Green
#008000
ΔE00 3.33
Emerald Green
#028F1E
ΔE00 3.57
True Green
#089404
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D861C #751C86
analogous
#62861C #2D861C #1C8640
triadic
#2D861C #1C2D86 #861C2D
tetradic
#2D861C #1C6286 #751C86 #86401C
square
#2D861C #1C6286 #751C86 #86401C
split-complementary
#2D861C #401C86 #861C62
monochromatic
#0B2107 #1C5311 #2D861C #3EB927 #5CD844
Accessibility & contrast
On white
4.63
#2D861C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#2D861C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2D861C
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D861C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D861C | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7902
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#1D8272
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2d861c; /* rgb */ color: rgb(45, 134, 28); /* oklch */ color: oklch(54.6% 0.163 140.9);
Tailwind
colors: {
custom: {
50: '#73aa61',
500: '#2d861c',
950: '#000000',
},
}SCSS
$custom: #2d861c; $custom-light: #73aa61; $custom-dark: #000000;
JSON
{
"hex": "#2d861c",
"rgb": {
"r": 45,
"g": 134,
"b": 28
},
"hsl": {
"h": 110.377,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.54621,
"c": 0.16254,
"h": 140.9
},
"luminance": 0.17692
}Semantic roles & 50–950 ramp
primary
#2D861C
secondary
#A645B9
accent
#3FE8CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A