#2B6826#2B6826
#2B6826 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.1% C 0.117 H 142.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2B6826 |
|---|---|
| RGB | rgb(43, 104, 38) |
| HSL | hsl(115, 46%, 28%) |
| HSV | hsv(115, 63%, 41%) |
| CMYK | cmyk(58.7%, 0%, 63.5%, 59.2%) |
| CIE-LAB | lab(38.82, -33.98, 30.69) |
| CIE-LCH | lch(38.82, 45.79, 137.91°) |
| OKLab | oklab(46.12% -0.0926 0.072) |
| OKLCH | oklch(46.12% 0.117 142.1) |
| XYZ | xyz(6.2961, 10.5536, 3.5386) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.89
Forest Green
#2D5A27
ΔE00 5.19
Deep Green
#02590F
ΔE00 5.74
Pine
#2B5D34
ΔE00 6.31
Forest
#0B5509
ΔE00 6.72
Darkish Green
#287C37
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B6826 #632668
analogous
#4C6826 #2B6826 #266842
triadic
#2B6826 #262B68 #68262B
tetradic
#2B6826 #264C68 #632668 #684226
square
#2B6826 #264C68 #632668 #684226
split-complementary
#2B6826 #422668 #68264C
monochromatic
#091608 #183B16 #2B6826 #3E9536 #54BD4B
Accessibility & contrast
On white
6.75
#2B6826 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2B6826 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B6826
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B6826 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B6826 | 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)
#6A5F1F
Deuteranopia (green-blind)
#63592B
Tritanopia (blue-blind)
#22655A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2b6826; /* rgb */ color: rgb(43, 104, 38); /* oklch */ color: oklch(46.1% 0.117 142.1);
Tailwind
colors: {
custom: {
50: '#6b9463',
500: '#2b6826',
950: '#000000',
},
}SCSS
$custom: #2b6826; $custom-light: #6b9463; $custom-dark: #000000;
JSON
{
"hex": "#2b6826",
"rgb": {
"r": 43,
"g": 104,
"b": 38
},
"hsl": {
"h": 115.455,
"s": 46.479,
"l": 27.843
},
"oklch": {
"l": 0.46119,
"c": 0.11733,
"h": 142.1
},
"luminance": 0.10554
}Semantic roles & 50–950 ramp
primary
#2B6826
secondary
#954F9B
accent
#52D6CC
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A