#07271C#07271C

#07271C is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.6% C 0.043 H 166.6°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#07271C
RGBrgb(7, 39, 28)
HSLhsl(159, 70%, 9%)
HSVhsv(159, 82%, 15%)
CMYKcmyk(82.1%, 0%, 28.2%, 84.7%)
CIE-LABlab(13.11, -15.08, 3.90)
CIE-LCHlch(13.11, 15.58, 165.50°)
OKLaboklab(24.56% -0.0418 0.01)
OKLCHoklch(24.56% 0.043 166.6)
XYZxyz(1.0226, 1.5799, 1.3494)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07271C #270712
analogous
#07270C #07271C #072227
triadic
#07271C #1C0727 #271C07
tetradic
#07271C #0C0727 #270712 #222707
square
#07271C #0C0727 #270712 #222707
split-complementary
#07271C #270722 #270C07
monochromatic
#051A13 #051A13 #07271C #105B41 #1A8F67

Accessibility & contrast

On white

15.96
#07271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#07271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07271C
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07271C#FFFFFF#000000##FFFFFF
##07271C1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241B
Deuteranopia (green-blind)
#21201D
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #07271c;
/* rgb */ color: rgb(7, 39, 28);
/* oklch */ color: oklch(24.6% 0.043 166.6);
Tailwind
colors: {
  custom: {
    50: '#4b6158',
    500: '#07271c',
    950: '#000000',
  },
}
SCSS
$custom: #07271c;
$custom-light: #4b6158;
$custom-dark: #000000;
JSON
{
  "hex": "#07271c",
  "rgb": {
    "r": 7,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 159.375,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.2456,
    "c": 0.04299,
    "h": 166.6
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#07271C
secondary
#66233A
accent
#3B78EC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #07271C

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

Preview Lab → · Contrast checker → · Palette generator →

#07271C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva