#0C402F#0C402F
#0C402F is a dark, moderate teal. Relative luminance 0.040; OKLCH L 33.3% C 0.061 H 166.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #0C402F |
|---|---|
| RGB | rgb(12, 64, 47) |
| HSL | hsl(160, 68%, 15%) |
| HSV | hsv(160, 81%, 25%) |
| CMYK | cmyk(81.2%, 0%, 26.6%, 74.9%) |
| CIE-LAB | lab(23.51, -21.63, 5.63) |
| CIE-LCH | lch(23.51, 22.35, 165.40°) |
| OKLab | oklab(33.3% -0.0598 0.0144) |
| OKLCH | oklch(33.3% 0.062 166.5) |
| XYZ | xyz(2.4978, 3.9499, 3.3195) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Evergreen
#05472A
ΔE00 4.78
Dark Blue Green
#005249
ΔE00 7.24
Pine Green
#0A481E
ΔE00 8.44
Dark Teal
#014D4E
ΔE00 9.77
Dark Forest Green
#002D04
ΔE00 9.99
Very Dark Green
#062E03
ΔE00 10.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C402F #400C1D
analogous
#0C4015 #0C402F #0C3740
triadic
#0C402F #2F0C40 #402F0C
tetradic
#0C402F #150C40 #400C1D #37400C
square
#0C402F #150C40 #400C1D #37400C
split-complementary
#0C402F #400C37 #40150C
monochromatic
#051A13 #051A13 #0C402F #167455 #1FA77B
Accessibility & contrast
On white
11.73
#0C402F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#0C402F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C402F
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C402F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C402F | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3B2E
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #0c402f; /* rgb */ color: rgb(12, 64, 47); /* oklch */ color: oklch(33.3% 0.061 166.5);
Tailwind
colors: {
custom: {
50: '#547567',
500: '#0c402f',
950: '#000000',
},
}SCSS
$custom: #0c402f; $custom-light: #547567; $custom-dark: #000000;
JSON
{
"hex": "#0c402f",
"rgb": {
"r": 12,
"g": 64,
"b": 47
},
"hsl": {
"h": 160.385,
"s": 68.421,
"l": 14.902
},
"oklch": {
"l": 0.33295,
"c": 0.0615,
"h": 166.5
},
"luminance": 0.0395
}Semantic roles & 50–950 ramp
primary
#0C402F
secondary
#7C2C46
accent
#3D76EB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A