#07311A#07311A

#07311A is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.8% C 0.062 H 154.6°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#07311A
RGBrgb(7, 49, 26)
HSLhsl(147, 75%, 11%)
HSVhsv(147, 86%, 19%)
CMYKcmyk(85.7%, 0%, 46.9%, 80.8%)
CIE-LABlab(17.07, -20.78, 10.70)
CIE-LCHlch(17.07, 23.37, 152.75°)
OKLaboklab(27.8% -0.0561 0.0267)
OKLCHoklch(27.8% 0.062 154.6)
XYZxyz(1.3723, 2.3162, 1.3518)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07311A #31071E
analogous
#093107 #07311A #07312F
triadic
#07311A #1A0731 #311A07
tetradic
#07311A #070931 #31071E #312F07
square
#07311A #070931 #31071E #312F07
split-complementary
#07311A #2F0731 #310709
monochromatic
#041B0E #041B0E #07311A #0F6736 #169C53

Accessibility & contrast

On white

14.35
#07311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#07311A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07311A
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07311A#FFFFFF#000000##FFFFFF
##07311A1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C18
Deuteranopia (green-blind)
#2C291C
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #07311a;
/* rgb */ color: rgb(7, 49, 26);
/* oklch */ color: oklch(27.8% 0.062 154.6);
Tailwind
colors: {
  custom: {
    50: '#4e6956',
    500: '#07311a',
    950: '#000000',
  },
}
SCSS
$custom: #07311a;
$custom-light: #4e6956;
$custom-dark: #000000;
JSON
{
  "hex": "#07311a",
  "rgb": {
    "r": 7,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 147.143,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27795,
    "c": 0.06209,
    "h": 154.6
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#07311A
secondary
#71234E
accent
#369DF2
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #07311A

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

Preview Lab → · Contrast checker → · Palette generator →

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