#2D811C#2D811C
#2D811C is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.157 H 140.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2D811C |
|---|---|
| RGB | rgb(45, 129, 28) |
| HSL | hsl(110, 64%, 31%) |
| HSV | hsv(110, 78%, 51%) |
| CMYK | cmyk(65.1%, 0%, 78.3%, 49.4%) |
| CIE-LAB | lab(47.42, -44.27, 44.15) |
| CIE-LCH | lch(47.42, 62.53, 135.08°) |
| OKLab | oklab(53.21% -0.1212 0.0991) |
| OKLCH | oklch(53.21% 0.157 140.7) |
| XYZ | xyz(9.1416, 16.3414, 3.7708) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.10
Green
#008000
ΔE00 2.63
Dark Grass Green
#388004
ΔE00 2.73
Forestgreen (CSS)
#228B22
ΔE00 3.61
Emerald Green
#028F1E
ΔE00 5.16
Darkish Green
#287C37
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D811C #701C81
analogous
#5F811C #2D811C #1C813D
triadic
#2D811C #1C2D81 #811C2D
tetradic
#2D811C #1C5F81 #701C81 #813D1C
square
#2D811C #1C5F81 #701C81 #813D1C
split-complementary
#2D811C #3D1C81 #811C5F
monochromatic
#0A1C06 #1B4F11 #2D811C #3FB327 #5AD642
Accessibility & contrast
On white
4.92
#2D811C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#2D811C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D811C
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D811C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D811C | 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)
#857505
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#1F7D6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2d811c; /* rgb */ color: rgb(45, 129, 28); /* oklch */ color: oklch(53.2% 0.157 140.7);
Tailwind
colors: {
custom: {
50: '#72a660',
500: '#2d811c',
950: '#000000',
},
}SCSS
$custom: #2d811c; $custom-light: #72a660; $custom-dark: #000000;
JSON
{
"hex": "#2d811c",
"rgb": {
"r": 45,
"g": 129,
"b": 28
},
"hsl": {
"h": 109.901,
"s": 64.331,
"l": 30.784
},
"oklch": {
"l": 0.53213,
"c": 0.15655,
"h": 140.7
},
"luminance": 0.16342
}Semantic roles & 50–950 ramp
primary
#2D811C
secondary
#A244B4
accent
#40E7CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79