#2C6F12#2C6F12
#2C6F12 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.140 H 139.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6F12 |
|---|---|
| RGB | rgb(44, 111, 18) |
| HSL | hsl(103, 72%, 25%) |
| HSV | hsv(103, 84%, 44%) |
| CMYK | cmyk(60.4%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(41.13, -38.37, 41.52) |
| CIE-LCH | lch(41.13, 56.53, 132.74°) |
| OKLab | oklab(47.99% -0.1058 0.0921) |
| OKLCH | oklch(47.99% 0.14 139) |
| XYZ | xyz(6.8321, 11.9474, 2.5182) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.64
Tree Green
#2A7E19
ΔE00 5.16
Green
#008000
ΔE00 6.36
Dark Grass Green
#388004
ΔE00 6.47
Darkish Green
#287C37
ΔE00 6.65
Deep Green
#02590F
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6F12 #55126F
analogous
#5A6F12 #2C6F12 #126F27
triadic
#2C6F12 #122C6F #6F122C
tetradic
#2C6F12 #125A6F #55126F #6F2712
square
#2C6F12 #125A6F #55126F #6F2712
split-complementary
#2C6F12 #27126F #6F125A
monochromatic
#0A1A04 #173A09 #2C6F12 #41A41B #56D823
Accessibility & contrast
On white
6.20
#2C6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#2C6F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6F12
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6F12 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736400
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#256B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2c6f12; /* rgb */ color: rgb(44, 111, 18); /* oklch */ color: oklch(48.0% 0.140 139.0);
Tailwind
colors: {
custom: {
50: '#6e9959',
500: '#2c6f12',
950: '#000000',
},
}SCSS
$custom: #2c6f12; $custom-light: #6e9959; $custom-dark: #000000;
JSON
{
"hex": "#2c6f12",
"rgb": {
"r": 44,
"g": 111,
"b": 18
},
"hsl": {
"h": 103.226,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47986,
"c": 0.14026,
"h": 139
},
"luminance": 0.11948
}Semantic roles & 50–950 ramp
primary
#2C6F12
secondary
#8737A6
accent
#39EFBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79