#07271A#07271A

#07271A is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.5% C 0.045 H 162.7°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#07271A
RGBrgb(7, 39, 26)
HSLhsl(156, 70%, 9%)
HSVhsv(156, 82%, 15%)
CMYKcmyk(82.1%, 0%, 33.3%, 84.7%)
CIE-LABlab(13.05, -15.68, 5.24)
CIE-LCHlch(13.05, 16.53, 161.51°)
OKLaboklab(24.49% -0.043 0.0134)
OKLCHoklch(24.49% 0.045 162.7)
XYZxyz(0.9995, 1.5707, 1.2276)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07271A #270714
analogous
#07270A #07271A #072427
triadic
#07271A #1A0727 #271A07
tetradic
#07271A #0A0727 #270714 #242707
square
#07271A #0A0727 #270714 #242707
split-complementary
#07271A #270724 #270A07
monochromatic
#051A11 #051A11 #07271A #105B3D #1A8F5F

Accessibility & contrast

On white

15.98
#07271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#07271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07271A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07271A#FFFFFF#000000##FFFFFF
##07271A1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262319
Deuteranopia (green-blind)
#22201B
Tritanopia (blue-blind)
#002723
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #07271a;
/* rgb */ color: rgb(7, 39, 26);
/* oklch */ color: oklch(24.5% 0.045 162.7);
Tailwind
colors: {
  custom: {
    50: '#4b6156',
    500: '#07271a',
    950: '#000000',
  },
}
SCSS
$custom: #07271a;
$custom-light: #4b6156;
$custom-dark: #000000;
JSON
{
  "hex": "#07271a",
  "rgb": {
    "r": 7,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 155.625,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.24494,
    "c": 0.04508,
    "h": 162.7
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#07271A
secondary
#66233F
accent
#3B83EC
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #07271A

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

Preview Lab → · Contrast checker → · Palette generator →

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