#0C301B#0C301B
#0C301B is a dark, muted green. Relative luminance 0.023; OKLCH L 27.7% C 0.057 H 154.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #0C301B |
|---|---|
| RGB | rgb(12, 48, 27) |
| HSL | hsl(145, 60%, 12%) |
| HSV | hsv(145, 75%, 19%) |
| CMYK | cmyk(75%, 0%, 43.8%, 81.2%) |
| CIE-LAB | lab(16.85, -18.85, 9.77) |
| CIE-LCH | lch(16.85, 21.23, 152.59°) |
| OKLab | oklab(27.67% -0.0511 0.0245) |
| OKLCH | oklch(27.67% 0.057 154.4) |
| XYZ | xyz(1.4063, 2.2711, 1.4009) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Forest Green
#002D04
ΔE00 5.82
Very Dark Green
#062E03
ΔE00 6.17
Evergreen
#05472A
ΔE00 7.72
Dark Green
#033500
ΔE00 8.38
Pine Green
#0A481E
ΔE00 9.31
Hunter Green (survey)
#0B4008
ΔE00 10.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C301B #300C21
analogous
#0F300C #0C301B #0C302D
triadic
#0C301B #1B0C30 #301B0C
tetradic
#0C301B #0C0F30 #300C21 #302D0C
square
#0C301B #0C0F30 #300C21 #302D0C
split-complementary
#0C301B #2D0C30 #300C0F
monochromatic
#06180E #06180E #0C301B #186137 #249252
Accessibility & contrast
On white
14.44
#0C301B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#0C301B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C301B
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C301B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C301B | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302C1A
Deuteranopia (green-blind)
#2B281C
Tritanopia (blue-blind)
#012F2B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #0c301b; /* rgb */ color: rgb(12, 48, 27); /* oklch */ color: oklch(27.7% 0.057 154.4);
Tailwind
colors: {
custom: {
50: '#506857',
500: '#0c301b',
950: '#000000',
},
}SCSS
$custom: #0c301b; $custom-light: #506857; $custom-dark: #000000;
JSON
{
"hex": "#0c301b",
"rgb": {
"r": 12,
"g": 48,
"b": 27
},
"hsl": {
"h": 145,
"s": 60,
"l": 11.765
},
"oklch": {
"l": 0.2767,
"c": 0.05664,
"h": 154.4
},
"luminance": 0.02271
}Semantic roles & 50–950 ramp
primary
#0C301B
secondary
#6C2C51
accent
#45A1E3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78