#2C6A12#2C6A12
#2C6A12 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.134 H 138.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6A12 |
|---|---|
| RGB | rgb(44, 106, 18) |
| HSL | hsl(102, 71%, 24%) |
| HSV | hsv(102, 83%, 42%) |
| CMYK | cmyk(58.5%, 0%, 83%, 58.4%) |
| CIE-LAB | lab(39.39, -36.38, 39.88) |
| CIE-LCH | lch(39.39, 53.98, 132.37°) |
| OKLab | oklab(46.55% -0.1004 0.0887) |
| OKLCH | oklch(46.55% 0.134 138.6) |
| XYZ | xyz(6.3017, 10.8867, 2.3414) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.66
Deep Green
#02590F
ΔE00 6.67
Tree Green
#2A7E19
ΔE00 6.85
Forest
#0B5509
ΔE00 7.38
Camouflage Green
#4B6113
ΔE00 7.49
Forest Green
#2D5A27
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6A12 #50126A
analogous
#586A12 #2C6A12 #126A24
triadic
#2C6A12 #122C6A #6A122C
tetradic
#2C6A12 #12586A #50126A #6A2412
square
#2C6A12 #12586A #50126A #6A2412
split-complementary
#2C6A12 #24126A #6A1258
monochromatic
#0B1A04 #163609 #2C6A12 #429E1B #57D324
Accessibility & contrast
On white
6.61
#2C6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2C6A12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6A12
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6A12 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#26665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2c6a12; /* rgb */ color: rgb(44, 106, 18); /* oklch */ color: oklch(46.5% 0.134 138.6);
Tailwind
colors: {
custom: {
50: '#6d9558',
500: '#2c6a12',
950: '#000000',
},
}SCSS
$custom: #2c6a12; $custom-light: #6d9558; $custom-dark: #000000;
JSON
{
"hex": "#2c6a12",
"rgb": {
"r": 44,
"g": 106,
"b": 18
},
"hsl": {
"h": 102.273,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.46547,
"c": 0.13398,
"h": 138.6
},
"luminance": 0.10887
}Semantic roles & 50–950 ramp
primary
#2C6A12
secondary
#8236A2
accent
#3AEEB9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79