#031C12#031C12

#031C12 is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.3% C 0.038 H 164.3°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#031C12
RGBrgb(3, 28, 18)
HSLhsl(156, 81%, 6%)
HSVhsv(156, 89%, 11%)
CMYKcmyk(89.3%, 0%, 35.7%, 89%)
CIE-LABlab(8.07, -11.77, 3.69)
CIE-LCHlch(8.07, 12.33, 162.60°)
OKLaboklab(20.28% -0.0367 0.0103)
OKLCHoklch(20.28% 0.038 164.3)
XYZxyz(0.5619, 0.8935, 0.7150)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C12 #1C030D
analogous
#031C05 #031C12 #03191C
triadic
#031C12 #12031C #1C1203
tetradic
#031C12 #05031C #1C030D #191C03
square
#031C12 #05031C #1C030D #191C03
split-complementary
#031C12 #1C0319 #1C0503
monochromatic
#031C12 #031C12 #031C12 #095336 #0F8B59

Accessibility & contrast

On white

17.81
#031C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#031C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031C12
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C12#FFFFFF#000000##FFFFFF
##031C121.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1911
Deuteranopia (green-blind)
#181713
Tritanopia (blue-blind)
#001C19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031c12;
/* rgb */ color: rgb(3, 28, 18);
/* oklch */ color: oklch(20.3% 0.038 164.3);
Tailwind
colors: {
  custom: {
    50: '#47584f',
    500: '#031c12',
    950: '#000000',
  },
}
SCSS
$custom: #031c12;
$custom-light: #47584f;
$custom-dark: #000000;
JSON
{
  "hex": "#031c12",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 18
  },
  "hsl": {
    "h": 156,
    "s": 80.645,
    "l": 6.078
  },
  "oklch": {
    "l": 0.20283,
    "c": 0.03813,
    "h": 164.3
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#031C12
secondary
#601B36
accent
#3180F7
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #031C12

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#031C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva