#07310D#07310D

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

Color values

HEX#07310D
RGBrgb(7, 49, 13)
HSLhsl(129, 75%, 11%)
HSVhsv(129, 86%, 19%)
CMYKcmyk(85.7%, 0%, 73.5%, 80.8%)
CIE-LABlab(16.85, -23.30, 18.28)
CIE-LCHlch(16.85, 29.62, 141.88°)
OKLaboklab(27.54% -0.0629 0.0435)
OKLCHoklch(27.54% 0.076 145.3)
XYZxyz(1.2585, 2.2707, 0.7527)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07310D #31072B
analogous
#163107 #07310D #073122
triadic
#07310D #0D0731 #310D07
tetradic
#07310D #071631 #31072B #312207
square
#07310D #071631 #31072B #312207
split-complementary
#07310D #220731 #310716
monochromatic
#041B07 #041B07 #07310D #0F671B #169C29

Accessibility & contrast

On white

14.44
#07310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07310D
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07310D#FFFFFF#000000##FFFFFF
##07310D1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C09
Deuteranopia (green-blind)
#2D2810
Tritanopia (blue-blind)
#003029
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #07310d;
/* rgb */ color: rgb(7, 49, 13);
/* oklch */ color: oklch(27.5% 0.076 145.3);
Tailwind
colors: {
  custom: {
    50: '#4e6a4d',
    500: '#07310d',
    950: '#000000',
  },
}
SCSS
$custom: #07310d;
$custom-light: #4e6a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#07310d",
  "rgb": {
    "r": 7,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 128.571,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27544,
    "c": 0.07647,
    "h": 145.3
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#07310D
secondary
#712366
accent
#36D7F2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #07310D

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

Preview Lab → · Contrast checker → · Palette generator →

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