#0C2E18#0C2E18
#0C2E18 is a dark, muted green. Relative luminance 0.021; OKLCH L 26.9% C 0.057 H 152.2°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2E18 |
|---|---|
| RGB | rgb(12, 46, 24) |
| HSL | hsl(141, 59%, 11%) |
| HSV | hsv(141, 74%, 18%) |
| CMYK | cmyk(73.9%, 0%, 47.8%, 82%) |
| CIE-LAB | lab(15.99, -18.53, 10.64) |
| CIE-LCH | lch(15.99, 21.37, 150.13°) |
| OKLab | oklab(26.95% -0.0501 0.0265) |
| OKLCH | oklch(26.95% 0.057 152.2) |
| XYZ | xyz(1.2934, 2.0980, 1.2008) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Forest Green
#002D04
ΔE00 5.33
Very Dark Green
#062E03
ΔE00 5.65
Dark Green
#033500
ΔE00 8.04
Evergreen
#05472A
ΔE00 8.30
Pine Green
#0A481E
ΔE00 9.56
Hunter Green (survey)
#0B4008
ΔE00 9.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2E18 #2E0C22
analogous
#112E0C #0C2E18 #0C2E29
triadic
#0C2E18 #180C2E #2E180C
tetradic
#0C2E18 #0C112E #2E0C22 #2E290C
square
#0C2E18 #0C112E #2E0C22 #2E290C
split-complementary
#0C2E18 #290C2E #2E0C11
monochromatic
#06180D #06180D #0C2E18 #195F31 #258F4B
Accessibility & contrast
On white
14.79
#0C2E18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#0C2E18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2E18
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2E18 | 1.00 | 14.79 | 1.42 | 14.79 |
| #FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2A16
Deuteranopia (green-blind)
#2A2719
Tritanopia (blue-blind)
#032D28
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #0c2e18; /* rgb */ color: rgb(12, 46, 24); /* oklch */ color: oklch(26.9% 0.057 152.2);
Tailwind
colors: {
custom: {
50: '#4f6755',
500: '#0c2e18',
950: '#000000',
},
}SCSS
$custom: #0c2e18; $custom-light: #4f6755; $custom-dark: #000000;
JSON
{
"hex": "#0c2e18",
"rgb": {
"r": 12,
"g": 46,
"b": 24
},
"hsl": {
"h": 141.176,
"s": 58.621,
"l": 11.373
},
"oklch": {
"l": 0.26945,
"c": 0.05671,
"h": 152.2
},
"luminance": 0.02098
}Semantic roles & 50–950 ramp
primary
#0C2E18
secondary
#6A2C54
accent
#46ABE2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020603
muted
#787A78