#06310C#06310C

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

Color values

HEX#06310C
RGBrgb(6, 49, 12)
HSLhsl(128, 78%, 11%)
HSVhsv(128, 88%, 19%)
CMYKcmyk(87.8%, 0%, 75.5%, 80.8%)
CIE-LABlab(16.80, -23.70, 18.69)
CIE-LCHlch(16.80, 30.19, 141.75°)
OKLaboklab(27.5% -0.064 0.0445)
OKLCHoklch(27.5% 0.078 145.2)
XYZxyz(1.2397, 2.2617, 0.7190)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06310C #31062B
analogous
#153106 #06310C #063121
triadic
#06310C #0C0631 #310C06
tetradic
#06310C #061531 #31062B #312106
square
#06310C #061531 #31062B #312106
split-complementary
#06310C #210631 #310615
monochromatic
#031B07 #031B07 #06310C #0D6819 #139E27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##06310C#FFFFFF#000000##FFFFFF
##06310C1.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)
#322C08
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#002F29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #06310c;
/* rgb */ color: rgb(6, 49, 12);
/* oklch */ color: oklch(27.5% 0.078 145.2);
Tailwind
colors: {
  custom: {
    50: '#4e6a4d',
    500: '#06310c',
    950: '#000000',
  },
}
SCSS
$custom: #06310c;
$custom-light: #4e6a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#06310c",
  "rgb": {
    "r": 6,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 128.372,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27496,
    "c": 0.07791,
    "h": 145.2
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#06310C
secondary
#722166
accent
#33DAF5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #06310C

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

Preview Lab → · Contrast checker → · Palette generator →

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