#2B6215#2B6215
#2B6215 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.122 H 138.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B6215 |
|---|---|
| RGB | rgb(43, 98, 21) |
| HSL | hsl(103, 65%, 23%) |
| HSV | hsv(103, 79%, 38%) |
| CMYK | cmyk(56.1%, 0%, 78.6%, 61.6%) |
| CIE-LAB | lab(36.56, -33.17, 36.02) |
| CIE-LCH | lch(36.56, 48.97, 132.64°) |
| OKLab | oklab(44.21% -0.0916 0.0811) |
| OKLCH | oklch(44.21% 0.122 138.5) |
| XYZ | xyz(5.4991, 9.3027, 2.2151) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.62
Deep Green
#02590F
ΔE00 4.53
Forest
#0B5509
ΔE00 4.97
Forest Green
#2D5A27
ΔE00 5.18
Navy Green
#35530A
ΔE00 6.03
Camouflage Green
#4B6113
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B6215 #4C1562
analogous
#516215 #2B6215 #156225
triadic
#2B6215 #152B62 #62152B
tetradic
#2B6215 #155162 #4C1562 #622515
square
#2B6215 #155162 #4C1562 #622515
split-complementary
#2B6215 #251562 #621551
monochromatic
#0B1905 #15300A #2B6215 #419420 #57C72B
Accessibility & contrast
On white
7.34
#2B6215 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2B6215 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B6215
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B6215 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B6215 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655906
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#265E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b6215; /* rgb */ color: rgb(43, 98, 21); /* oklch */ color: oklch(44.2% 0.122 138.5);
Tailwind
colors: {
custom: {
50: '#6b8f58',
500: '#2b6215',
950: '#000000',
},
}SCSS
$custom: #2b6215; $custom-light: #6b8f58; $custom-dark: #000000;
JSON
{
"hex": "#2b6215",
"rgb": {
"r": 43,
"g": 98,
"b": 21
},
"hsl": {
"h": 102.857,
"s": 64.706,
"l": 23.333
},
"oklch": {
"l": 0.44209,
"c": 0.12231,
"h": 138.5
},
"luminance": 0.09303
}Semantic roles & 50–950 ramp
primary
#2B6215
secondary
#7E3A99
accent
#40E8B8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79