#0C2F0C#0C2F0C
#0C2F0C is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.072 H 143.3°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2F0C |
|---|---|
| RGB | rgb(12, 47, 12) |
| HSL | hsl(120, 59%, 12%) |
| HSV | hsv(120, 74%, 18%) |
| CMYK | cmyk(74.5%, 0%, 74.5%, 81.6%) |
| CIE-LAB | lab(16.19, -21.24, 17.97) |
| CIE-LCH | lch(16.19, 27.82, 139.76°) |
| OKLab | oklab(27.05% -0.0577 0.0431) |
| OKLCH | oklch(27.05% 0.072 143.3) |
| XYZ | xyz(1.2344, 2.1376, 0.6953) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Very Dark Green
#062E03
ΔE00 1.68
Dark Forest Green
#002D04
ΔE00 2.06
Dark Green
#033500
ΔE00 4.20
Hunter Green (survey)
#0B4008
ΔE00 6.69
Pine Green
#0A481E
ΔE00 7.98
Forrest Green
#154406
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2F0C #2F0C2F
analogous
#1E2F0C #0C2F0C #0C2F1E
triadic
#0C2F0C #0C0C2F #2F0C0C
tetradic
#0C2F0C #0C1E2F #2F0C2F #2F1E0C
square
#0C2F0C #0C1E2F #2F0C2F #2F1E0C
split-complementary
#0C2F0C #1E0C2F #2F0C1E
monochromatic
#061806 #061806 #0C2F0C #186018 #259125
Accessibility & contrast
On white
14.71
#0C2F0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#0C2F0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2F0C
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2F0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2F0C | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302A08
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#062D28
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #0c2f0c; /* rgb */ color: rgb(12, 47, 12); /* oklch */ color: oklch(27.0% 0.072 143.3);
Tailwind
colors: {
custom: {
50: '#50684c',
500: '#0c2f0c',
950: '#000000',
},
}SCSS
$custom: #0c2f0c; $custom-light: #50684c; $custom-dark: #000000;
JSON
{
"hex": "#0c2f0c",
"rgb": {
"r": 12,
"g": 47,
"b": 12
},
"hsl": {
"h": 120,
"s": 59.322,
"l": 11.569
},
"oklch": {
"l": 0.27045,
"c": 0.07199,
"h": 143.3
},
"luminance": 0.02138
}Semantic roles & 50–950 ramp
primary
#0C2F0C
secondary
#6B2C6B
accent
#45E3E3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77