#012A20#012A20

#012A20 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.4% C 0.048 H 172.1°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#012A20
RGBrgb(1, 42, 32)
HSLhsl(165, 95%, 8%)
HSVhsv(165, 98%, 16%)
CMYKcmyk(97.6%, 0%, 23.8%, 83.5%)
CIE-LABlab(14.21, -17.09, 2.60)
CIE-LCHlch(14.21, 17.28, 171.34°)
OKLaboklab(25.44% -0.0478 0.0066)
OKLCHoklch(25.44% 0.048 172.1)
XYZxyz(1.1010, 1.7665, 1.6492)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A20 #2A010B
analogous
#012A0B #012A20 #011F2A
triadic
#012A20 #20012A #2A2001
tetradic
#012A20 #0B012A #2A010B #1F2A01
square
#012A20 #0B012A #2A010B #1F2A01
split-complementary
#012A20 #2A011F #2A0B01
monochromatic
#011E17 #011E17 #012A20 #02664E #04A27B

Accessibility & contrast

On white

15.52
#012A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#012A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012A20
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A20#FFFFFF#000000##FFFFFF
##012A201.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282620
Deuteranopia (green-blind)
#232221
Tritanopia (blue-blind)
#002B27
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #012a20;
/* rgb */ color: rgb(1, 42, 32);
/* oklch */ color: oklch(25.4% 0.048 172.1);
Tailwind
colors: {
  custom: {
    50: '#49645b',
    500: '#012a20',
    950: '#000000',
  },
}
SCSS
$custom: #012a20;
$custom-light: #49645b;
$custom-dark: #000000;
JSON
{
  "hex": "#012a20",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 32
  },
  "hsl": {
    "h": 165.366,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25438,
    "c": 0.04829,
    "h": 172.1
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#012A20
secondary
#70162C
accent
#295DFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010504
muted
#777A79

Preview Lab

Preview with #012A20

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

Preview Lab → · Contrast checker → · Palette generator →

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