#072F1C#072F1C

#072F1C is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.2% C 0.056 H 158.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#072F1C
RGBrgb(7, 47, 28)
HSLhsl(152, 74%, 11%)
HSVhsv(152, 85%, 18%)
CMYKcmyk(85.1%, 0%, 40.4%, 81.6%)
CIE-LABlab(16.31, -19.30, 8.35)
CIE-LCHlch(16.31, 21.03, 156.61°)
OKLaboklab(27.19% -0.0524 0.0211)
OKLCHoklch(27.19% 0.056 158.1)
XYZxyz(1.3136, 2.1619, 1.4464)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072F1C #2F071A
analogous
#072F08 #072F1C #072E2F
triadic
#072F1C #1C072F #2F1C07
tetradic
#072F1C #08072F #2F071A #2E2F07
square
#072F1C #08072F #2F071A #2E2F07
split-complementary
#072F1C #2F072E #2F0807
monochromatic
#041B10 #041B10 #072F1C #0F643C #179A5B

Accessibility & contrast

On white

14.66
#072F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#072F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072F1C
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072F1C#FFFFFF#000000##FFFFFF
##072F1C1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1B
Deuteranopia (green-blind)
#29271D
Tritanopia (blue-blind)
#002F2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #072f1c;
/* rgb */ color: rgb(7, 47, 28);
/* oklch */ color: oklch(27.2% 0.056 158.1);
Tailwind
colors: {
  custom: {
    50: '#4d6858',
    500: '#072f1c',
    950: '#000000',
  },
}
SCSS
$custom: #072f1c;
$custom-light: #4d6858;
$custom-dark: #000000;
JSON
{
  "hex": "#072f1c",
  "rgb": {
    "r": 7,
    "g": 47,
    "b": 28
  },
  "hsl": {
    "h": 151.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27191,
    "c": 0.05645,
    "h": 158.1
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#072F1C
secondary
#6F2347
accent
#378FF1
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #072F1C

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

Preview Lab → · Contrast checker → · Palette generator →

#072F1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva