#2B6828#2B6828
#2B6828 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.1% C 0.116 H 142.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2B6828 |
|---|---|
| RGB | rgb(43, 104, 40) |
| HSL | hsl(117, 44%, 28%) |
| HSV | hsv(117, 62%, 41%) |
| CMYK | cmyk(58.7%, 0%, 61.5%, 59.2%) |
| CIE-LAB | lab(38.84, -33.72, 29.70) |
| CIE-LCH | lch(38.84, 44.93, 138.63°) |
| OKLab | oklab(46.15% -0.0918 0.0701) |
| OKLCH | oklch(46.15% 0.116 142.6) |
| XYZ | xyz(6.3293, 10.5669, 3.7132) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.05
Darkgreen
#006400
ΔE00 5.21
Deep Green
#02590F
ΔE00 5.83
Pine
#2B5D34
ΔE00 5.99
Forest
#0B5509
ΔE00 6.83
Darkish Green
#287C37
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B6828 #652868
analogous
#4B6828 #2B6828 #286845
triadic
#2B6828 #282B68 #68282B
tetradic
#2B6828 #284B68 #652868 #684528
square
#2B6828 #284B68 #652868 #684528
split-complementary
#2B6828 #452868 #68284B
monochromatic
#091609 #193C17 #2B6828 #3D9439 #54BB4F
Accessibility & contrast
On white
6.75
#2B6828 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2B6828 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B6828
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B6828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B6828 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5F21
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#22655A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2b6828; /* rgb */ color: rgb(43, 104, 40); /* oklch */ color: oklch(46.1% 0.116 142.6);
Tailwind
colors: {
custom: {
50: '#6b9464',
500: '#2b6828',
950: '#000000',
},
}SCSS
$custom: #2b6828; $custom-light: #6b9464; $custom-dark: #000000;
JSON
{
"hex": "#2b6828",
"rgb": {
"r": 43,
"g": 104,
"b": 40
},
"hsl": {
"h": 117.188,
"s": 44.444,
"l": 28.235
},
"oklch": {
"l": 0.46145,
"c": 0.1155,
"h": 142.6
},
"luminance": 0.10567
}Semantic roles & 50–950 ramp
primary
#2B6828
secondary
#97519B
accent
#54D4CE
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A