#06310A#06310A

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

Color values

HEX#06310A
RGBrgb(6, 49, 10)
HSLhsl(126, 78%, 11%)
HSVhsv(126, 88%, 19%)
CMYKcmyk(87.8%, 0%, 79.6%, 80.8%)
CIE-LABlab(16.78, -23.98, 19.52)
CIE-LCHlch(16.78, 30.92, 140.84°)
OKLaboklab(27.47% -0.0648 0.0464)
OKLCHoklch(27.47% 0.08 144.4)
XYZxyz(1.2281, 2.2571, 0.6580)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06310A #31062D
analogous
#173106 #06310A #06311F
triadic
#06310A #0A0631 #310A06
tetradic
#06310A #061731 #31062D #311F06
square
#06310A #061731 #31062D #311F06
split-complementary
#06310A #1F0631 #310617
monochromatic
#031B06 #031B06 #06310A #0D6815 #139E20

Accessibility & contrast

On white

14.47
#06310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06310A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06310A#FFFFFF#000000##FFFFFF
##06310A1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #06310a;
/* rgb */ color: rgb(6, 49, 10);
/* oklch */ color: oklch(27.5% 0.080 144.4);
Tailwind
colors: {
  custom: {
    50: '#4e6a4c',
    500: '#06310a',
    950: '#000000',
  },
}
SCSS
$custom: #06310a;
$custom-light: #4e6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#06310a",
  "rgb": {
    "r": 6,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 125.581,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2747,
    "c": 0.07973,
    "h": 144.4
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#06310A
secondary
#72216A
accent
#33E3F5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #06310A

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

Preview Lab → · Contrast checker → · Palette generator →

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