#012F1F#012F1F

#012F1F is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.1% C 0.057 H 164.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#012F1F
RGBrgb(1, 47, 31)
HSLhsl(159, 96%, 9%)
HSVhsv(159, 98%, 18%)
CMYKcmyk(97.9%, 0%, 34%, 81.6%)
CIE-LABlab(16.20, -19.94, 6.10)
CIE-LCHlch(16.20, 20.85, 162.98°)
OKLaboklab(27.06% -0.0545 0.0155)
OKLCHoklch(27.06% 0.057 164.1)
XYZxyz(1.2762, 2.1382, 1.6415)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012F1F #2F0111
analogous
#012F08 #012F1F #01282F
triadic
#012F1F #1F012F #2F1F01
tetradic
#012F1F #08012F #2F0111 #282F01
square
#012F1F #08012F #2F0111 #282F01
split-complementary
#012F1F #2F0128 #2F0801
monochromatic
#011E14 #011E14 #012F1F #026B47 #04A76E

Accessibility & contrast

On white

14.71
#012F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#012F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012F1F
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012F1F#FFFFFF#000000##FFFFFF
##012F1F1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1E
Deuteranopia (green-blind)
#282720
Tritanopia (blue-blind)
#002F2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #012f1f;
/* rgb */ color: rgb(1, 47, 31);
/* oklch */ color: oklch(27.1% 0.057 164.1);
Tailwind
colors: {
  custom: {
    50: '#4a685a',
    500: '#012f1f',
    950: '#000000',
  },
}
SCSS
$custom: #012f1f;
$custom-light: #4a685a;
$custom-dark: #000000;
JSON
{
  "hex": "#012f1f",
  "rgb": {
    "r": 1,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 159.13,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27063,
    "c": 0.05667,
    "h": 164.1
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#012F1F
secondary
#751738
accent
#2973FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #012F1F

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

Preview Lab → · Contrast checker → · Palette generator →

#012F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva