#012F21#012F21

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

Color values

HEX#012F21
RGBrgb(1, 47, 33)
HSLhsl(162, 96%, 9%)
HSVhsv(162, 98%, 18%)
CMYKcmyk(97.9%, 0%, 29.8%, 81.6%)
CIE-LABlab(16.25, -19.33, 4.80)
CIE-LCHlch(16.25, 19.92, 166.05°)
OKLaboklab(27.13% -0.0533 0.0123)
OKLCHoklch(27.13% 0.055 167)
XYZxyz(1.3034, 2.1491, 1.7847)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012F21 #2F010F
analogous
#012F0A #012F21 #01262F
triadic
#012F21 #21012F #2F2101
tetradic
#012F21 #0A012F #2F010F #262F01
square
#012F21 #0A012F #2F010F #262F01
split-complementary
#012F21 #2F0126 #2F0A01
monochromatic
#011E15 #011E15 #012F21 #026B4B #04A775

Accessibility & contrast

On white

14.69
#012F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #012F21
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012F21#FFFFFF#000000##FFFFFF
##012F211.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #012f21;
/* rgb */ color: rgb(1, 47, 33);
/* oklch */ color: oklch(27.1% 0.055 167.0);
Tailwind
colors: {
  custom: {
    50: '#4b685c',
    500: '#012f21',
    950: '#000000',
  },
}
SCSS
$custom: #012f21;
$custom-light: #4b685c;
$custom-dark: #000000;
JSON
{
  "hex": "#012f21",
  "rgb": {
    "r": 1,
    "g": 47,
    "b": 33
  },
  "hsl": {
    "h": 161.739,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27126,
    "c": 0.05467,
    "h": 167
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#012F21
secondary
#751734
accent
#296AFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010604
muted
#777A79

Preview Lab

Preview with #012F21

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

Preview Lab → · Contrast checker → · Palette generator →

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