#06310B#06310B

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

Color values

HEX#06310B
RGBrgb(6, 49, 11)
HSLhsl(127, 78%, 11%)
HSVhsv(127, 88%, 19%)
CMYKcmyk(87.8%, 0%, 77.6%, 80.8%)
CIE-LABlab(16.79, -23.85, 19.12)
CIE-LCHlch(16.79, 30.56, 141.28°)
OKLaboklab(27.48% -0.0644 0.0455)
OKLCHoklch(27.48% 0.079 144.8)
XYZxyz(1.2337, 2.2594, 0.6876)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06310B #31062C
analogous
#163106 #06310B #063120
triadic
#06310B #0B0631 #310B06
tetradic
#06310B #061631 #31062C #312006
square
#06310B #061631 #31062C #312006
split-complementary
#06310B #200631 #310616
monochromatic
#031B06 #031B06 #06310B #0D6817 #139E23

Accessibility & contrast

On white

14.46
#06310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06310B
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06310B#FFFFFF#000000##FFFFFF
##06310B1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.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: #06310b;
/* rgb */ color: rgb(6, 49, 11);
/* oklch */ color: oklch(27.5% 0.079 144.8);
Tailwind
colors: {
  custom: {
    50: '#4e6a4c',
    500: '#06310b',
    950: '#000000',
  },
}
SCSS
$custom: #06310b;
$custom-light: #4e6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#06310b",
  "rgb": {
    "r": 6,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 126.977,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27482,
    "c": 0.07884,
    "h": 144.8
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#06310B
secondary
#722168
accent
#33DEF5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #06310B

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

Preview Lab → · Contrast checker → · Palette generator →

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