#07310B#07310B

#07310B is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.5% C 0.078 H 144.5°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#07310B
RGBrgb(7, 49, 11)
HSLhsl(126, 75%, 11%)
HSVhsv(126, 86%, 19%)
CMYKcmyk(85.7%, 0%, 77.6%, 80.8%)
CIE-LABlab(16.82, -23.58, 19.16)
CIE-LCHlch(16.82, 30.39, 140.90°)
OKLaboklab(27.52% -0.0638 0.0456)
OKLCHoklch(27.52% 0.078 144.5)
XYZxyz(1.2463, 2.2658, 0.6882)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07310B #31072D
analogous
#183107 #07310B #073120
triadic
#07310B #0B0731 #310B07
tetradic
#07310B #071831 #31072D #312007
square
#07310B #071831 #31072D #312007
split-complementary
#07310B #200731 #310718
monochromatic
#041B06 #041B06 #07310B #0F6717 #169C23

Accessibility & contrast

On white

14.45
#07310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#07310B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07310B
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07310B#FFFFFF#000000##FFFFFF
##07310B1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C07
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#002F29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #07310b;
/* rgb */ color: rgb(7, 49, 11);
/* oklch */ color: oklch(27.5% 0.078 144.5);
Tailwind
colors: {
  custom: {
    50: '#4e6a4c',
    500: '#07310b',
    950: '#000000',
  },
}
SCSS
$custom: #07310b;
$custom-light: #4e6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#07310b",
  "rgb": {
    "r": 7,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 125.714,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27517,
    "c": 0.07837,
    "h": 144.5
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#07310B
secondary
#712369
accent
#36E0F2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #07310B

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

Preview Lab → · Contrast checker → · Palette generator →

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