#2D811F#2D811F
#2D811F is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.155 H 141.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2D811F |
|---|---|
| RGB | rgb(45, 129, 31) |
| HSL | hsl(111, 61%, 31%) |
| HSV | hsv(111, 76%, 51%) |
| CMYK | cmyk(65.1%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(47.44, -44.04, 43.06) |
| CIE-LCH | lch(47.44, 61.60, 135.65°) |
| OKLab | oklab(53.24% -0.1204 0.0972) |
| OKLCH | oklch(53.24% 0.155 141.1) |
| XYZ | xyz(9.1793, 16.3564, 3.9694) |
| Luminance | 0.1636 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.18
Green
#008000
ΔE00 2.83
Dark Grass Green
#388004
ΔE00 3.06
Forestgreen (CSS)
#228B22
ΔE00 3.59
Darkish Green
#287C37
ΔE00 4.93
Emerald Green
#028F1E
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D811F #731F81
analogous
#5E811F #2D811F #1F8142
triadic
#2D811F #1F2D81 #811F2D
tetradic
#2D811F #1F5E81 #731F81 #81421F
square
#2D811F #1F5E81 #731F81 #81421F
split-complementary
#2D811F #421F81 #811F5E
monochromatic
#0B1E07 #1C5013 #2D811F #3EB22B #5BD347
Accessibility & contrast
On white
4.92
#2D811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#2D811F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D811F
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D811F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D811F | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#1F7D6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2d811f; /* rgb */ color: rgb(45, 129, 31); /* oklch */ color: oklch(53.2% 0.155 141.1);
Tailwind
colors: {
custom: {
50: '#72a662',
500: '#2d811f',
950: '#000000',
},
}SCSS
$custom: #2d811f; $custom-light: #72a662; $custom-dark: #000000;
JSON
{
"hex": "#2d811f",
"rgb": {
"r": 45,
"g": 129,
"b": 31
},
"hsl": {
"h": 111.429,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.53235,
"c": 0.15476,
"h": 141.1
},
"luminance": 0.16357
}Semantic roles & 50–950 ramp
primary
#2D811F
secondary
#A448B4
accent
#43E4CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A