#07311B#07311B

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

Color values

HEX#07311B
RGBrgb(7, 49, 27)
HSLhsl(149, 75%, 11%)
HSVhsv(149, 86%, 19%)
CMYKcmyk(85.7%, 0%, 44.9%, 80.8%)
CIE-LABlab(17.09, -20.54, 10.06)
CIE-LCHlch(17.09, 22.87, 153.89°)
OKLaboklab(27.82% -0.0555 0.0252)
OKLCHoklch(27.82% 0.061 155.6)
XYZxyz(1.3836, 2.3208, 1.4117)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07311B #31071D
analogous
#083107 #07311B #073130
triadic
#07311B #1B0731 #311B07
tetradic
#07311B #070831 #31071D #313007
square
#07311B #070831 #31071D #313007
split-complementary
#07311B #300731 #310708
monochromatic
#041B0F #041B0F #07311B #0F6739 #169C56

Accessibility & contrast

On white

14.34
#07311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07311B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07311B#FFFFFF#000000##FFFFFF
##07311B1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #07311b;
/* rgb */ color: rgb(7, 49, 27);
/* oklch */ color: oklch(27.8% 0.061 155.6);
Tailwind
colors: {
  custom: {
    50: '#4e6957',
    500: '#07311b',
    950: '#000000',
  },
}
SCSS
$custom: #07311b;
$custom-light: #4e6957;
$custom-dark: #000000;
JSON
{
  "hex": "#07311b",
  "rgb": {
    "r": 7,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 148.571,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2782,
    "c": 0.06094,
    "h": 155.6
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #07311B

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

Preview Lab → · Contrast checker → · Palette generator →

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