#07310F#07310F

#07310F is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.6% C 0.074 H 146.3°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#07310F
RGBrgb(7, 49, 15)
HSLhsl(131, 75%, 11%)
HSVhsv(131, 86%, 19%)
CMYKcmyk(85.7%, 0%, 69.4%, 80.8%)
CIE-LABlab(16.87, -22.99, 17.31)
CIE-LCHlch(16.87, 28.77, 143.02°)
OKLaboklab(27.57% -0.062 0.0413)
OKLCHoklch(27.57% 0.074 146.3)
XYZxyz(1.2721, 2.2761, 0.8241)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07310F #310729
analogous
#143107 #07310F #073124
triadic
#07310F #0F0731 #310F07
tetradic
#07310F #071431 #310729 #312407
square
#07310F #071431 #310729 #312407
split-complementary
#07310F #240731 #310714
monochromatic
#041B08 #041B08 #07310F #0F671F #169C30

Accessibility & contrast

On white

14.43
#07310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#07310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07310F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07310F#FFFFFF#000000##FFFFFF
##07310F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#2D2812
Tritanopia (blue-blind)
#00302A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #07310f;
/* rgb */ color: rgb(7, 49, 15);
/* oklch */ color: oklch(27.6% 0.074 146.3);
Tailwind
colors: {
  custom: {
    50: '#4e694e',
    500: '#07310f',
    950: '#000000',
  },
}
SCSS
$custom: #07310f;
$custom-light: #4e694e;
$custom-dark: #000000;
JSON
{
  "hex": "#07310f",
  "rgb": {
    "r": 7,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 131.429,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27574,
    "c": 0.07446,
    "h": 146.3
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#07310F
secondary
#712362
accent
#36CEF2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #07310F

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

Preview Lab → · Contrast checker → · Palette generator →

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