#2C6512#2C6512
#2C6512 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.128 H 138.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6512 |
|---|---|
| RGB | rgb(44, 101, 18) |
| HSL | hsl(101, 70%, 23%) |
| HSV | hsv(101, 82%, 40%) |
| CMYK | cmyk(56.4%, 0%, 82.2%, 60.4%) |
| CIE-LAB | lab(37.64, -34.33, 38.22) |
| CIE-LCH | lch(37.64, 51.37, 131.93°) |
| OKLab | oklab(45.1% -0.095 0.0852) |
| OKLCH | oklch(45.1% 0.128 138.1) |
| XYZ | xyz(5.8014, 9.8861, 2.1746) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.38
Deep Green
#02590F
ΔE00 5.41
Forest
#0B5509
ΔE00 5.93
Forest Green
#2D5A27
ΔE00 6.29
Navy Green
#35530A
ΔE00 6.79
Camouflage Green
#4B6113
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6512 #4B1265
analogous
#556512 #2C6512 #126521
triadic
#2C6512 #122C65 #65122C
tetradic
#2C6512 #125565 #4B1265 #652112
square
#2C6512 #125565 #4B1265 #652112
split-complementary
#2C6512 #211265 #651255
monochromatic
#0B1A05 #153109 #2C6512 #43991B #59CD25
Accessibility & contrast
On white
7.05
#2C6512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2C6512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C6512
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6512 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#276155
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2c6512; /* rgb */ color: rgb(44, 101, 18); /* oklch */ color: oklch(45.1% 0.128 138.1);
Tailwind
colors: {
custom: {
50: '#6c9157',
500: '#2c6512',
950: '#000000',
},
}SCSS
$custom: #2c6512; $custom-light: #6c9157; $custom-dark: #000000;
JSON
{
"hex": "#2c6512",
"rgb": {
"r": 44,
"g": 101,
"b": 18
},
"hsl": {
"h": 101.205,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.45102,
"c": 0.12755,
"h": 138.1
},
"luminance": 0.09887
}Semantic roles & 50–950 ramp
primary
#2C6512
secondary
#7D369D
accent
#3BEDB5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78