#2B862A#2B862A
#2B862A is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.154 H 143.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2B862A |
|---|---|
| RGB | rgb(43, 134, 42) |
| HSL | hsl(119, 52%, 35%) |
| HSV | hsv(119, 69%, 53%) |
| CMYK | cmyk(67.9%, 0%, 68.7%, 47.5%) |
| CIE-LAB | lab(49.17, -45.33, 40.32) |
| CIE-LCH | lch(49.17, 60.67, 138.35°) |
| OKLab | oklab(54.68% -0.1232 0.093) |
| OKLCH | oklch(54.68% 0.154 143) |
| XYZ | xyz(9.9387, 17.7299, 5.0885) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.18
Tree Green
#2A7E19
ΔE00 3.28
Emerald Green
#028F1E
ΔE00 3.75
Green
#008000
ΔE00 4.19
Dark Grass Green
#388004
ΔE00 4.71
Darkish Green
#287C37
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B862A #852A86
analogous
#59862A #2B862A #2A8657
triadic
#2B862A #2A2B86 #862A2B
tetradic
#2B862A #2A5986 #852A86 #86572A
square
#2B862A #2A5986 #852A86 #86572A
split-complementary
#2B862A #572A86 #862A59
monochromatic
#0D290D #1C571B #2B862A #3AB539 #5FCD5E
Accessibility & contrast
On white
4.62
#2B862A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#2B862A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2B862A
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B862A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B862A | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#168273
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2b862a; /* rgb */ color: rgb(43, 134, 42); /* oklch */ color: oklch(54.7% 0.154 143.0);
Tailwind
colors: {
custom: {
50: '#71aa68',
500: '#2b862a',
950: '#000000',
},
}SCSS
$custom: #2b862a; $custom-light: #71aa68; $custom-dark: #000000;
JSON
{
"hex": "#2b862a",
"rgb": {
"r": 43,
"g": 134,
"b": 42
},
"hsl": {
"h": 119.348,
"s": 52.273,
"l": 34.51
},
"oklch": {
"l": 0.54677,
"c": 0.1543,
"h": 143
},
"luminance": 0.17731
}Semantic roles & 50–950 ramp
primary
#2B862A
secondary
#B15AB2
accent
#4CDCDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A