#0C402E#0C402E
#0C402E is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.3% C 0.062 H 165.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #0C402E |
|---|---|
| RGB | rgb(12, 64, 46) |
| HSL | hsl(159, 68%, 15%) |
| HSV | hsv(159, 81%, 25%) |
| CMYK | cmyk(81.2%, 0%, 28.1%, 74.9%) |
| CIE-LAB | lab(23.48, -21.91, 6.25) |
| CIE-LCH | lch(23.48, 22.78, 164.07°) |
| OKLab | oklab(33.26% -0.0604 0.016) |
| OKLCH | oklch(33.26% 0.062 165.2) |
| XYZ | xyz(2.4779, 3.9419, 3.2145) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Evergreen
#05472A
ΔE00 4.42
Dark Blue Green
#005249
ΔE00 7.50
Pine Green
#0A481E
ΔE00 8.03
Dark Forest Green
#002D04
ΔE00 9.65
Very Dark Green
#062E03
ΔE00 10.02
Dark Teal
#014D4E
ΔE00 10.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C402E #400C1E
analogous
#0C4014 #0C402E #0C3840
triadic
#0C402E #2E0C40 #402E0C
tetradic
#0C402E #140C40 #400C1E #38400C
square
#0C402E #140C40 #400C1E #38400C
split-complementary
#0C402E #400C38 #40140C
monochromatic
#051A13 #051A13 #0C402E #167453 #1FA778
Accessibility & contrast
On white
11.74
#0C402E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#0C402E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C402E
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C402E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C402E | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3B2D
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #0c402e; /* rgb */ color: rgb(12, 64, 46); /* oklch */ color: oklch(33.3% 0.062 165.2);
Tailwind
colors: {
custom: {
50: '#547566',
500: '#0c402e',
950: '#000000',
},
}SCSS
$custom: #0c402e; $custom-light: #547566; $custom-dark: #000000;
JSON
{
"hex": "#0c402e",
"rgb": {
"r": 12,
"g": 64,
"b": 46
},
"hsl": {
"h": 159.231,
"s": 68.421,
"l": 14.902
},
"oklch": {
"l": 0.33264,
"c": 0.06245,
"h": 165.2
},
"luminance": 0.03942
}Semantic roles & 50–950 ramp
primary
#0C402E
secondary
#7C2C48
accent
#3D79EB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A