#00271B#00271B

#00271B is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.2% C 0.049 H 167.6°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#00271B
RGBrgb(0, 39, 27)
HSLhsl(162, 100%, 8%)
HSVhsv(162, 100%, 15%)
CMYKcmyk(100%, 0%, 30.8%, 84.7%)
CIE-LABlab(12.80, -17.45, 4.13)
CIE-LCHlch(12.80, 17.93, 166.67°)
OKLaboklab(24.22% -0.0481 0.0106)
OKLCHoklch(24.22% 0.049 167.6)
XYZxyz(0.9232, 1.5300, 1.2834)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00271B #27000C
analogous
#002707 #00271B #002027
triadic
#00271B #1B0027 #271B00
tetradic
#00271B #070027 #27000C #202700
square
#00271B #070027 #27000C #202700
split-complementary
#00271B #270020 #270700
monochromatic
#001F15 #001F15 #00271B #006445 #00A170

Accessibility & contrast

On white

16.08
#00271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#00271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #00271B
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00271B#FFFFFF#000000##FFFFFF
##00271B1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231A
Deuteranopia (green-blind)
#21201C
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #00271b;
/* rgb */ color: rgb(0, 39, 27);
/* oklch */ color: oklch(24.2% 0.049 167.6);
Tailwind
colors: {
  custom: {
    50: '#476157',
    500: '#00271b',
    950: '#000000',
  },
}
SCSS
$custom: #00271b;
$custom-light: #476157;
$custom-dark: #000000;
JSON
{
  "hex": "#00271b",
  "rgb": {
    "r": 0,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 161.538,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.24215,
    "c": 0.04926,
    "h": 167.6
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#00271B
secondary
#6F1430
accent
#296BFF
background
#F4F5F5
surface
#E6EAE9
border
#C2C6C5
text
#000503
muted
#777978

Preview Lab

Preview with #00271B

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

Preview Lab → · Contrast checker → · Palette generator →

#00271B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva