#0C402C#0C402C
#0C402C is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.2% C 0.064 H 162.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #0C402C |
|---|---|
| RGB | rgb(12, 64, 44) |
| HSL | hsl(157, 68%, 15%) |
| HSV | hsv(157, 81%, 25%) |
| CMYK | cmyk(81.2%, 0%, 31.2%, 74.9%) |
| CIE-LAB | lab(23.43, -22.46, 7.49) |
| CIE-LCH | lch(23.43, 23.67, 161.55°) |
| OKLab | oklab(33.21% -0.0615 0.0191) |
| OKLCH | oklch(33.21% 0.064 162.8) |
| XYZ | xyz(2.4394, 3.9265, 3.0117) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Evergreen
#05472A
ΔE00 3.75
Pine Green
#0A481E
ΔE00 7.26
Dark Blue Green
#005249
ΔE00 8.05
Dark Forest Green
#002D04
ΔE00 9.01
Very Dark Green
#062E03
ΔE00 9.37
Dark Green
#033500
ΔE00 10.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C402C #400C20
analogous
#0C4012 #0C402C #0C3A40
triadic
#0C402C #2C0C40 #402C0C
tetradic
#0C402C #120C40 #400C20 #3A400C
square
#0C402C #120C40 #400C20 #3A400C
split-complementary
#0C402C #400C3A #40120C
monochromatic
#051A12 #051A12 #0C402C #16744F #1FA773
Accessibility & contrast
On white
11.76
#0C402C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#0C402C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C402C
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C402C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C402C | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3B2B
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #0c402c; /* rgb */ color: rgb(12, 64, 44); /* oklch */ color: oklch(33.2% 0.064 162.8);
Tailwind
colors: {
custom: {
50: '#547565',
500: '#0c402c',
950: '#000000',
},
}SCSS
$custom: #0c402c; $custom-light: #547565; $custom-dark: #000000;
JSON
{
"hex": "#0c402c",
"rgb": {
"r": 12,
"g": 64,
"b": 44
},
"hsl": {
"h": 156.923,
"s": 68.421,
"l": 14.902
},
"oklch": {
"l": 0.33205,
"c": 0.06441,
"h": 162.8
},
"luminance": 0.03927
}Semantic roles & 50–950 ramp
primary
#0C402C
secondary
#7C2C4B
accent
#3D80EB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A