#2C6912#2C6912
#2C6912 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.133 H 138.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6912 |
|---|---|
| RGB | rgb(44, 105, 18) |
| HSL | hsl(102, 71%, 24%) |
| HSV | hsv(102, 83%, 41%) |
| CMYK | cmyk(58.1%, 0%, 82.9%, 58.8%) |
| CIE-LAB | lab(39.04, -35.97, 39.55) |
| CIE-LCH | lch(39.04, 53.46, 132.29°) |
| OKLab | oklab(46.26% -0.0994 0.088) |
| OKLCH | oklch(46.26% 0.133 138.5) |
| XYZ | xyz(6.1992, 10.6818, 2.3073) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.54
Deep Green
#02590F
ΔE00 6.40
Forest
#0B5509
ΔE00 7.08
Tree Green
#2A7E19
ΔE00 7.19
Camouflage Green
#4B6113
ΔE00 7.34
Forest Green
#2D5A27
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6912 #4F1269
analogous
#586912 #2C6912 #126924
triadic
#2C6912 #122C69 #69122C
tetradic
#2C6912 #125869 #4F1269 #692412
square
#2C6912 #125869 #4F1269 #692412
split-complementary
#2C6912 #241269 #691258
monochromatic
#0B1A04 #163509 #2C6912 #429D1B #58D124
Accessibility & contrast
On white
6.70
#2C6912 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2C6912 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6912
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6912 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#266559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2c6912; /* rgb */ color: rgb(44, 105, 18); /* oklch */ color: oklch(46.3% 0.133 138.5);
Tailwind
colors: {
custom: {
50: '#6d9458',
500: '#2c6912',
950: '#000000',
},
}SCSS
$custom: #2c6912; $custom-light: #6d9458; $custom-dark: #000000;
JSON
{
"hex": "#2c6912",
"rgb": {
"r": 44,
"g": 105,
"b": 18
},
"hsl": {
"h": 102.069,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.46258,
"c": 0.13271,
"h": 138.5
},
"luminance": 0.10682
}Semantic roles & 50–950 ramp
primary
#2C6912
secondary
#8136A1
accent
#3AEDB8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79