#07311F#07311F

#07311F is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.9% C 0.056 H 160.3°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#07311F
RGBrgb(7, 49, 31)
HSLhsl(154, 75%, 11%)
HSVhsv(154, 86%, 19%)
CMYKcmyk(85.7%, 0%, 36.7%, 80.8%)
CIE-LABlab(17.18, -19.50, 7.50)
CIE-LCHlch(17.18, 20.89, 158.97°)
OKLaboklab(27.93% -0.0531 0.019)
OKLCHoklch(27.93% 0.056 160.3)
XYZxyz(1.4331, 2.3406, 1.6723)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07311F #310719
analogous
#07310A #07311F #072E31
triadic
#07311F #1F0731 #311F07
tetradic
#07311F #0A0731 #310719 #2E3107
square
#07311F #0A0731 #310719 #2E3107
split-complementary
#07311F #31072E #310A07
monochromatic
#041B11 #041B11 #07311F #0F6741 #169C63

Accessibility & contrast

On white

14.30
#07311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07311F
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07311F#FFFFFF#000000##FFFFFF
##07311F1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D1E
Deuteranopia (green-blind)
#2B2920
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #07311f;
/* rgb */ color: rgb(7, 49, 31);
/* oklch */ color: oklch(27.9% 0.056 160.3);
Tailwind
colors: {
  custom: {
    50: '#4e695a',
    500: '#07311f',
    950: '#000000',
  },
}
SCSS
$custom: #07311f;
$custom-light: #4e695a;
$custom-dark: #000000;
JSON
{
  "hex": "#07311f",
  "rgb": {
    "r": 7,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 154.286,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27928,
    "c": 0.05642,
    "h": 160.3
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#07311F
secondary
#712344
accent
#3687F2
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #07311F

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

Preview Lab → · Contrast checker → · Palette generator →

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