#06310D#06310D

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

Color values

HEX#06310D
RGBrgb(6, 49, 13)
HSLhsl(130, 78%, 11%)
HSVhsv(130, 88%, 19%)
CMYKcmyk(87.8%, 0%, 73.5%, 80.8%)
CIE-LABlab(16.82, -23.56, 18.24)
CIE-LCHlch(16.82, 29.79, 142.25°)
OKLaboklab(27.51% -0.0635 0.0434)
OKLCHoklch(27.51% 0.077 145.7)
XYZxyz(1.2460, 2.2643, 0.7521)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06310D #31062A
analogous
#143106 #06310D #063122
triadic
#06310D #0D0631 #310D06
tetradic
#06310D #061431 #31062A #312206
square
#06310D #061431 #31062A #312206
split-complementary
#06310D #220631 #310614
monochromatic
#031B07 #031B07 #06310D #0D681B #139E2A

Accessibility & contrast

On white

14.45
#06310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06310D
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06310D#FFFFFF#000000##FFFFFF
##06310D1.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)
#322C09
Deuteranopia (green-blind)
#2D2810
Tritanopia (blue-blind)
#003029
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #06310d;
/* rgb */ color: rgb(6, 49, 13);
/* oklch */ color: oklch(27.5% 0.077 145.7);
Tailwind
colors: {
  custom: {
    50: '#4e6a4d',
    500: '#06310d',
    950: '#000000',
  },
}
SCSS
$custom: #06310d;
$custom-light: #4e6a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#06310d",
  "rgb": {
    "r": 6,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 129.767,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2751,
    "c": 0.07695,
    "h": 145.7
  },
  "luminance": 0.02264
}

Semantic roles & 50–950 ramp

primary
#06310D
secondary
#722164
accent
#33D5F5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #06310D

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

Preview Lab → · Contrast checker → · Palette generator →

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