#2B6F12#2B6F12
#2B6F12 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.141 H 139.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2B6F12 |
|---|---|
| RGB | rgb(43, 111, 18) |
| HSL | hsl(104, 72%, 25%) |
| HSV | hsv(104, 84%, 44%) |
| CMYK | cmyk(61.3%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(41.10, -38.65, 41.48) |
| CIE-LCH | lch(41.10, 56.69, 132.98°) |
| OKLab | oklab(47.95% -0.1065 0.092) |
| OKLCH | oklch(47.95% 0.141 139.2) |
| XYZ | xyz(6.7896, 11.9255, 2.5162) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.57
Tree Green
#2A7E19
ΔE00 5.15
Green
#008000
ΔE00 6.33
Dark Grass Green
#388004
ΔE00 6.50
Darkish Green
#287C37
ΔE00 6.60
Deep Green
#02590F
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B6F12 #56126F
analogous
#596F12 #2B6F12 #126F27
triadic
#2B6F12 #122B6F #6F122B
tetradic
#2B6F12 #12596F #56126F #6F2712
square
#2B6F12 #12596F #56126F #6F2712
split-complementary
#2B6F12 #27126F #6F1259
monochromatic
#0A1A04 #173A09 #2B6F12 #3FA41B #54D823
Accessibility & contrast
On white
6.20
#2B6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#2B6F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B6F12
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B6F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B6F12 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#236B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b6f12; /* rgb */ color: rgb(43, 111, 18); /* oklch */ color: oklch(47.9% 0.141 139.2);
Tailwind
colors: {
custom: {
50: '#6e9959',
500: '#2b6f12',
950: '#000000',
},
}SCSS
$custom: #2b6f12; $custom-light: #6e9959; $custom-dark: #000000;
JSON
{
"hex": "#2b6f12",
"rgb": {
"r": 43,
"g": 111,
"b": 18
},
"hsl": {
"h": 103.871,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47948,
"c": 0.14073,
"h": 139.2
},
"luminance": 0.11926
}Semantic roles & 50–950 ramp
primary
#2B6F12
secondary
#8837A6
accent
#39EFBE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79