#00271F#00271F

#00271F is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.4% C 0.046 H 175.5°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#00271F
RGBrgb(0, 39, 31)
HSLhsl(168, 100%, 8%)
HSVhsv(168, 100%, 15%)
CMYKcmyk(100%, 0%, 20.5%, 84.7%)
CIE-LABlab(12.92, -16.11, 1.46)
CIE-LCHlch(12.92, 16.17, 174.83°)
OKLaboklab(24.36% -0.0456 0.0036)
OKLCHoklch(24.36% 0.046 175.5)
XYZxyz(0.9727, 1.5498, 1.5439)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00271F #270008
analogous
#00270B #00271F #001B27
triadic
#00271F #1F0027 #271F00
tetradic
#00271F #0B0027 #270008 #1B2700
square
#00271F #0B0027 #270008 #1B2700
split-complementary
#00271F #27001B #270B00
monochromatic
#001F18 #001F18 #00271F #006450 #00A180

Accessibility & contrast

On white

16.03
#00271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #00271F
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00271F#FFFFFF#000000##FFFFFF
##00271F1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241F
Deuteranopia (green-blind)
#202020
Tritanopia (blue-blind)
#002825
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #00271f;
/* rgb */ color: rgb(0, 39, 31);
/* oklch */ color: oklch(24.4% 0.046 175.5);
Tailwind
colors: {
  custom: {
    50: '#48615a',
    500: '#00271f',
    950: '#000000',
  },
}
SCSS
$custom: #00271f;
$custom-light: #48615a;
$custom-dark: #000000;
JSON
{
  "hex": "#00271f",
  "rgb": {
    "r": 0,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 167.692,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.24357,
    "c": 0.04574,
    "h": 175.5
  },
  "luminance": 0.0155
}

Semantic roles & 50–950 ramp

primary
#00271F
secondary
#6F1426
accent
#2955FF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #00271F

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

Preview Lab → · Contrast checker → · Palette generator →

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