#2B861F#2B861F
#2B861F is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.162 H 141.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2B861F |
|---|---|
| RGB | rgb(43, 134, 31) |
| HSL | hsl(113, 62%, 32%) |
| HSV | hsv(113, 77%, 53%) |
| CMYK | cmyk(67.9%, 0%, 76.9%, 47.5%) |
| CIE-LAB | lab(49.08, -46.33, 44.69) |
| CIE-LCH | lch(49.08, 64.37, 136.03°) |
| OKLab | oklab(54.58% -0.1264 0.1007) |
| OKLCH | oklch(54.58% 0.162 141.5) |
| XYZ | xyz(9.7682, 17.6617, 4.1903) |
| Luminance | 0.1766 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.85
Tree Green
#2A7E19
ΔE00 2.84
Green
#008000
ΔE00 3.36
Emerald Green
#028F1E
ΔE00 3.47
Dark Grass Green
#388004
ΔE00 3.55
True Green
#089404
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B861F #7A1F86
analogous
#5E861F #2B861F #1F8647
triadic
#2B861F #1F2B86 #861F2B
tetradic
#2B861F #1F5E86 #7A1F86 #86471F
square
#2B861F #1F5E86 #7A1F86 #86471F
split-complementary
#2B861F #471F86 #861F5E
monochromatic
#0B2308 #1B5414 #2B861F #3BB82A #5AD54A
Accessibility & contrast
On white
4.63
#2B861F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#2B861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2B861F
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B861F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B861F | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#198272
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2b861f; /* rgb */ color: rgb(43, 134, 31); /* oklch */ color: oklch(54.6% 0.162 141.5);
Tailwind
colors: {
custom: {
50: '#72aa62',
500: '#2b861f',
950: '#000000',
},
}SCSS
$custom: #2b861f; $custom-light: #72aa62; $custom-dark: #000000;
JSON
{
"hex": "#2b861f",
"rgb": {
"r": 43,
"g": 134,
"b": 31
},
"hsl": {
"h": 113.01,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.54581,
"c": 0.16162,
"h": 141.5
},
"luminance": 0.17663
}Semantic roles & 50–950 ramp
primary
#2B861F
secondary
#AB49B8
accent
#42E5D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A