#2E811F#2E811F
#2E811F is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.154 H 140.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2E811F |
|---|---|
| RGB | rgb(46, 129, 31) |
| HSL | hsl(111, 61%, 31%) |
| HSV | hsv(111, 76%, 51%) |
| CMYK | cmyk(64.3%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(47.47, -43.80, 43.10) |
| CIE-LCH | lch(47.47, 61.45, 135.46°) |
| OKLab | oklab(53.27% -0.1198 0.0973) |
| OKLCH | oklch(53.27% 0.154 140.9) |
| XYZ | xyz(9.2238, 16.3794, 3.9715) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.19
Green
#008000
ΔE00 2.88
Dark Grass Green
#388004
ΔE00 2.99
Forestgreen (CSS)
#228B22
ΔE00 3.60
Darkish Green
#287C37
ΔE00 4.98
Emerald Green
#028F1E
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E811F #721F81
analogous
#5F811F #2E811F #1F8141
triadic
#2E811F #1F2E81 #811F2E
tetradic
#2E811F #1F5F81 #721F81 #81411F
square
#2E811F #1F5F81 #721F81 #81411F
split-complementary
#2E811F #411F81 #811F5F
monochromatic
#0B1E07 #1C5013 #2E811F #40B22B #5DD347
Accessibility & contrast
On white
4.91
#2E811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#2E811F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E811F
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E811F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E811F | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#217D6E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2e811f; /* rgb */ color: rgb(46, 129, 31); /* oklch */ color: oklch(53.3% 0.154 140.9);
Tailwind
colors: {
custom: {
50: '#72a662',
500: '#2e811f',
950: '#000000',
},
}SCSS
$custom: #2e811f; $custom-light: #72a662; $custom-dark: #000000;
JSON
{
"hex": "#2e811f",
"rgb": {
"r": 46,
"g": 129,
"b": 31
},
"hsl": {
"h": 110.816,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.53268,
"c": 0.15436,
"h": 140.9
},
"luminance": 0.1638
}Semantic roles & 50–950 ramp
primary
#2E811F
secondary
#A348B4
accent
#43E4CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A