#2B811F#2B811F
#2B811F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.156 H 141.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B811F |
|---|---|
| RGB | rgb(43, 129, 31) |
| HSL | hsl(113, 61%, 31%) |
| HSV | hsv(113, 76%, 51%) |
| CMYK | cmyk(66.7%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(47.38, -44.51, 42.98) |
| CIE-LCH | lch(47.38, 61.88, 136.00°) |
| OKLab | oklab(53.17% -0.1215 0.0971) |
| OKLCH | oklch(53.17% 0.156 141.4) |
| XYZ | xyz(9.0934, 16.3121, 3.9654) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.17
Green
#008000
ΔE00 2.73
Dark Grass Green
#388004
ΔE00 3.20
Forestgreen (CSS)
#228B22
ΔE00 3.56
Darkish Green
#287C37
ΔE00 4.85
Emerald Green
#028F1E
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B811F #751F81
analogous
#5C811F #2B811F #1F8144
triadic
#2B811F #1F2B81 #811F2B
tetradic
#2B811F #1F5C81 #751F81 #81441F
square
#2B811F #1F5C81 #751F81 #81441F
split-complementary
#2B811F #441F81 #811F5C
monochromatic
#0A1E07 #1B5013 #2B811F #3BB22B #59D347
Accessibility & contrast
On white
4.93
#2B811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#2B811F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B811F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B811F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B811F | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#1B7D6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2b811f; /* rgb */ color: rgb(43, 129, 31); /* oklch */ color: oklch(53.2% 0.156 141.4);
Tailwind
colors: {
custom: {
50: '#71a662',
500: '#2b811f',
950: '#000000',
},
}SCSS
$custom: #2b811f; $custom-light: #71a662; $custom-dark: #000000;
JSON
{
"hex": "#2b811f",
"rgb": {
"r": 43,
"g": 129,
"b": 31
},
"hsl": {
"h": 112.653,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.53172,
"c": 0.15557,
"h": 141.4
},
"luminance": 0.16313
}Semantic roles & 50–950 ramp
primary
#2B811F
secondary
#A748B4
accent
#43E4D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A