#2C6812#2C6812
#2C6812 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.131 H 138.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6812 |
|---|---|
| RGB | rgb(44, 104, 18) |
| HSL | hsl(102, 70%, 24%) |
| HSV | hsv(102, 83%, 41%) |
| CMYK | cmyk(57.7%, 0%, 82.7%, 59.2%) |
| CIE-LAB | lab(38.69, -35.57, 39.22) |
| CIE-LCH | lch(38.69, 52.94, 132.20°) |
| OKLab | oklab(45.97% -0.0983 0.0873) |
| OKLCH | oklch(45.97% 0.131 138.4) |
| XYZ | xyz(6.0980, 10.4793, 2.2735) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.44
Deep Green
#02590F
ΔE00 6.14
Forest
#0B5509
ΔE00 6.78
Forest Green
#2D5A27
ΔE00 7.09
Camouflage Green
#4B6113
ΔE00 7.20
Tree Green
#2A7E19
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6812 #4E1268
analogous
#576812 #2C6812 #126823
triadic
#2C6812 #122C68 #68122C
tetradic
#2C6812 #125768 #4E1268 #682312
square
#2C6812 #125768 #4E1268 #682312
split-complementary
#2C6812 #231268 #681257
monochromatic
#0B1A05 #163409 #2C6812 #429C1B #58D024
Accessibility & contrast
On white
6.78
#2C6812 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2C6812 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6812
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6812 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#276458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c6812; /* rgb */ color: rgb(44, 104, 18); /* oklch */ color: oklch(46.0% 0.131 138.4);
Tailwind
colors: {
custom: {
50: '#6d9458',
500: '#2c6812',
950: '#000000',
},
}SCSS
$custom: #2c6812; $custom-light: #6d9458; $custom-dark: #000000;
JSON
{
"hex": "#2c6812",
"rgb": {
"r": 44,
"g": 104,
"b": 18
},
"hsl": {
"h": 101.86,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45969,
"c": 0.13143,
"h": 138.4
},
"luminance": 0.1048
}Semantic roles & 50–950 ramp
primary
#2C6812
secondary
#8036A0
accent
#3BEDB7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79