#2B6A17#2B6A17
#2B6A17 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.132 H 139.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2B6A17 |
|---|---|
| RGB | rgb(43, 106, 23) |
| HSL | hsl(106, 64%, 25%) |
| HSV | hsv(106, 78%, 42%) |
| CMYK | cmyk(59.4%, 0%, 78.3%, 58.4%) |
| CIE-LAB | lab(39.38, -36.32, 38.05) |
| CIE-LCH | lch(39.38, 52.60, 133.66°) |
| OKLab | oklab(46.54% -0.0999 0.0856) |
| OKLCH | oklch(46.54% 0.132 139.4) |
| XYZ | xyz(6.3047, 10.8830, 2.5788) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.64
Deep Green
#02590F
ΔE00 6.39
Tree Green
#2A7E19
ΔE00 6.92
Forest
#0B5509
ΔE00 7.19
Forest Green
#2D5A27
ΔE00 7.21
Darkish Green
#287C37
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B6A17 #56176A
analogous
#546A17 #2B6A17 #176A2C
triadic
#2B6A17 #172B6A #6A172B
tetradic
#2B6A17 #17546A #56176A #6A2C17
square
#2B6A17 #17546A #56176A #6A2C17
split-complementary
#2B6A17 #2C176A #6A1754
monochromatic
#0A1905 #17380C #2B6A17 #3F9C22 #54CF2D
Accessibility & contrast
On white
6.61
#2B6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2B6A17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B6A17
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B6A17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B6A17 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#24665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2b6a17; /* rgb */ color: rgb(43, 106, 23); /* oklch */ color: oklch(46.5% 0.132 139.4);
Tailwind
colors: {
custom: {
50: '#6c955a',
500: '#2b6a17',
950: '#000000',
},
}SCSS
$custom: #2b6a17; $custom-light: #6c955a; $custom-dark: #000000;
JSON
{
"hex": "#2b6a17",
"rgb": {
"r": 43,
"g": 106,
"b": 23
},
"hsl": {
"h": 105.542,
"s": 64.341,
"l": 25.294
},
"oklch": {
"l": 0.46541,
"c": 0.13158,
"h": 139.4
},
"luminance": 0.10884
}Semantic roles & 50–950 ramp
primary
#2B6A17
secondary
#883DA0
accent
#40E7BF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79