#18312E#18312E
#18312E is a dark, muted teal. Relative luminance 0.026; OKLCH L 29.2% C 0.032 H 185.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #18312E |
|---|---|
| RGB | rgb(24, 49, 46) |
| HSL | hsl(173, 34%, 14%) |
| HSV | hsv(173, 51%, 19%) |
| CMYK | cmyk(51%, 0%, 6.1%, 80.8%) |
| CIE-LAB | lab(18.31, -10.60, -1.11) |
| CIE-LCH | lch(18.31, 10.65, 186.01°) |
| OKLab | oklab(29.19% -0.0315 -0.0032) |
| OKLCH | oklch(29.19% 0.032 185.7) |
| XYZ | xyz(1.9680, 2.5879, 2.9801) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Gunmetal
#2A3439
ΔE00 9.08
Darkslategray
#2F4F4F
ΔE00 9.69
Charcoal (survey)
#343837
ΔE00 9.73
Dark Teal
#014D4E
ΔE00 10.63
Onyx
#353839
ΔE00 10.88
Charcoal Grey
#3C4142
ΔE00 11.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18312E #31181B
analogous
#183122 #18312E #182831
triadic
#18312E #2E1831 #312E18
tetradic
#18312E #221831 #31181B #283118
square
#18312E #221831 #31181B #283118
split-complementary
#18312E #311828 #312218
monochromatic
#0A1513 #0A1513 #18312E #2C5A55 #40837B
Accessibility & contrast
On white
13.84
#18312E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#18312E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18312E
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18312E | 1.00 | 13.84 | 1.52 | 13.84 |
| #FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2F2E
Deuteranopia (green-blind)
#2A2B2E
Tritanopia (blue-blind)
#0E3230
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #18312e; /* rgb */ color: rgb(24, 49, 46); /* oklch */ color: oklch(29.2% 0.032 185.7);
Tailwind
colors: {
custom: {
50: '#576966',
500: '#18312e',
950: '#000000',
},
}SCSS
$custom: #18312e; $custom-light: #576966; $custom-dark: #000000;
JSON
{
"hex": "#18312e",
"rgb": {
"r": 24,
"g": 49,
"b": 46
},
"hsl": {
"h": 172.8,
"s": 34.247,
"l": 14.314
},
"oklch": {
"l": 0.29187,
"c": 0.0317,
"h": 185.7
},
"luminance": 0.02588
}Semantic roles & 50–950 ramp
primary
#18312E
secondary
#663F43
accent
#5D6BCA
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#030606
muted
#787A7A