#07311C#07311C

#07311C is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.8% C 0.060 H 156.7°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#07311C
RGBrgb(7, 49, 28)
HSLhsl(150, 75%, 11%)
HSVhsv(150, 86%, 19%)
CMYKcmyk(85.7%, 0%, 42.9%, 80.8%)
CIE-LABlab(17.11, -20.29, 9.42)
CIE-LCHlch(17.11, 22.37, 155.08°)
OKLaboklab(27.85% -0.0549 0.0237)
OKLCHoklch(27.85% 0.06 156.7)
XYZxyz(1.3954, 2.3255, 1.4737)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07311C #31071C
analogous
#073107 #07311C #073131
triadic
#07311C #1C0731 #311C07
tetradic
#07311C #070731 #31071C #313107
square
#07311C #070731 #31071C #313107
split-complementary
#07311C #310731 #310707
monochromatic
#041B0F #041B0F #07311C #0F673B #169C59

Accessibility & contrast

On white

14.33
#07311C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#07311C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07311C
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07311C#FFFFFF#000000##FFFFFF
##07311C1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C1B
Deuteranopia (green-blind)
#2B291D
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #07311c;
/* rgb */ color: rgb(7, 49, 28);
/* oklch */ color: oklch(27.8% 0.060 156.7);
Tailwind
colors: {
  custom: {
    50: '#4e6958',
    500: '#07311c',
    950: '#000000',
  },
}
SCSS
$custom: #07311c;
$custom-light: #4e6958;
$custom-dark: #000000;
JSON
{
  "hex": "#07311c",
  "rgb": {
    "r": 7,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 150,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27846,
    "c": 0.05979,
    "h": 156.7
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#07311C
secondary
#71234A
accent
#3694F2
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #07311C

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

Preview Lab → · Contrast checker → · Palette generator →

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