#2B6217#2B6217
#2B6217 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.121 H 138.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B6217 |
|---|---|
| RGB | rgb(43, 98, 23) |
| HSL | hsl(104, 62%, 24%) |
| HSV | hsv(104, 77%, 38%) |
| CMYK | cmyk(56.1%, 0%, 76.5%, 61.6%) |
| CIE-LAB | lab(36.58, -33.01, 35.23) |
| CIE-LCH | lch(36.58, 48.27, 133.14°) |
| OKLab | oklab(44.23% -0.091 0.0797) |
| OKLCH | oklch(44.23% 0.121 138.8) |
| XYZ | xyz(5.5184, 9.3104, 2.3167) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.74
Deep Green
#02590F
ΔE00 4.45
Forest Green
#2D5A27
ΔE00 4.92
Forest
#0B5509
ΔE00 4.93
Navy Green
#35530A
ΔE00 6.10
Camouflage Green
#4B6113
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B6217 #4E1762
analogous
#506217 #2B6217 #176228
triadic
#2B6217 #172B62 #62172B
tetradic
#2B6217 #175062 #4E1762 #622817
square
#2B6217 #175062 #4E1762 #622817
split-complementary
#2B6217 #281762 #621750
monochromatic
#0B1906 #15300B #2B6217 #419423 #56C52E
Accessibility & contrast
On white
7.34
#2B6217 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2B6217 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B6217
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B6217 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B6217 | 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)
#65590A
Deuteranopia (green-blind)
#5E541E
Tritanopia (blue-blind)
#265E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b6217; /* rgb */ color: rgb(43, 98, 23); /* oklch */ color: oklch(44.2% 0.121 138.8);
Tailwind
colors: {
custom: {
50: '#6b8f59',
500: '#2b6217',
950: '#000000',
},
}SCSS
$custom: #2b6217; $custom-light: #6b8f59; $custom-dark: #000000;
JSON
{
"hex": "#2b6217",
"rgb": {
"r": 43,
"g": 98,
"b": 23
},
"hsl": {
"h": 104,
"s": 61.983,
"l": 23.725
},
"oklch": {
"l": 0.44226,
"c": 0.12097,
"h": 138.8
},
"luminance": 0.09311
}Semantic roles & 50–950 ramp
primary
#2B6217
secondary
#803C99
accent
#43E5BA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79