#07310C#07310C

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

Color values

HEX#07310C
RGBrgb(7, 49, 12)
HSLhsl(127, 75%, 11%)
HSVhsv(127, 86%, 19%)
CMYKcmyk(85.7%, 0%, 75.5%, 80.8%)
CIE-LABlab(16.84, -23.44, 18.73)
CIE-LCHlch(16.84, 30.01, 141.37°)
OKLaboklab(27.53% -0.0633 0.0445)
OKLCHoklch(27.53% 0.077 144.9)
XYZxyz(1.2522, 2.2682, 0.7196)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07310C #31072C
analogous
#173107 #07310C #073121
triadic
#07310C #0C0731 #310C07
tetradic
#07310C #071731 #31072C #312107
square
#07310C #071731 #31072C #312107
split-complementary
#07310C #210731 #310717
monochromatic
#041B07 #041B07 #07310C #0F6719 #169C26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##07310C#FFFFFF#000000##FFFFFF
##07310C1.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)
#322C08
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#002F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #07310c;
/* rgb */ color: rgb(7, 49, 12);
/* oklch */ color: oklch(27.5% 0.077 144.9);
Tailwind
colors: {
  custom: {
    50: '#4e6a4d',
    500: '#07310c',
    950: '#000000',
  },
}
SCSS
$custom: #07310c;
$custom-light: #4e6a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#07310c",
  "rgb": {
    "r": 7,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 127.143,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2753,
    "c": 0.07743,
    "h": 144.9
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#07310C
secondary
#712367
accent
#36DBF2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #07310C

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

Preview Lab → · Contrast checker → · Palette generator →

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