#2B6512#2B6512
#2B6512 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.128 H 138.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2B6512 |
|---|---|
| RGB | rgb(43, 101, 18) |
| HSL | hsl(102, 70%, 23%) |
| HSV | hsv(102, 82%, 40%) |
| CMYK | cmyk(57.4%, 0%, 82.2%, 60.4%) |
| CIE-LAB | lab(37.60, -34.64, 38.16) |
| CIE-LCH | lch(37.60, 51.54, 132.23°) |
| OKLab | oklab(45.06% -0.0957 0.0851) |
| OKLCH | oklch(45.06% 0.128 138.4) |
| XYZ | xyz(5.7589, 9.8642, 2.1727) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.26
Deep Green
#02590F
ΔE00 5.31
Forest
#0B5509
ΔE00 5.85
Forest Green
#2D5A27
ΔE00 6.27
Navy Green
#35530A
ΔE00 6.86
Camouflage Green
#4B6113
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B6512 #4C1265
analogous
#546512 #2B6512 #126522
triadic
#2B6512 #122B65 #65122B
tetradic
#2B6512 #125465 #4C1265 #652212
square
#2B6512 #125465 #4C1265 #652212
split-complementary
#2B6512 #221265 #651254
monochromatic
#0B1A05 #153109 #2B6512 #41991B #57CD25
Accessibility & contrast
On white
7.06
#2B6512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2B6512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B6512
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B6512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B6512 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#266155
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b6512; /* rgb */ color: rgb(43, 101, 18); /* oklch */ color: oklch(45.1% 0.128 138.4);
Tailwind
colors: {
custom: {
50: '#6c9157',
500: '#2b6512',
950: '#000000',
},
}SCSS
$custom: #2b6512; $custom-light: #6c9157; $custom-dark: #000000;
JSON
{
"hex": "#2b6512",
"rgb": {
"r": 43,
"g": 101,
"b": 18
},
"hsl": {
"h": 101.928,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.45058,
"c": 0.12807,
"h": 138.4
},
"luminance": 0.09865
}Semantic roles & 50–950 ramp
primary
#2B6512
secondary
#7E369D
accent
#3BEDB7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78