#06310E#06310E

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

Color values

HEX#06310E
RGBrgb(6, 49, 14)
HSLhsl(131, 78%, 11%)
HSVhsv(131, 88%, 19%)
CMYKcmyk(87.8%, 0%, 71.4%, 80.8%)
CIE-LABlab(16.83, -23.40, 17.76)
CIE-LCHlch(16.83, 29.38, 142.81°)
OKLaboklab(27.52% -0.0631 0.0423)
OKLCHoklch(27.52% 0.076 146.1)
XYZxyz(1.2526, 2.2669, 0.7869)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06310E #310629
analogous
#133106 #06310E #063123
triadic
#06310E #0E0631 #310E06
tetradic
#06310E #061331 #310629 #312306
square
#06310E #061331 #310629 #312306
split-complementary
#06310E #230631 #310613
monochromatic
#031B08 #031B08 #06310E #0D681E #139E2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##06310E#FFFFFF#000000##FFFFFF
##06310E1.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)
#322C0A
Deuteranopia (green-blind)
#2D2811
Tritanopia (blue-blind)
#003029
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #06310e;
/* rgb */ color: rgb(6, 49, 14);
/* oklch */ color: oklch(27.5% 0.076 146.1);
Tailwind
colors: {
  custom: {
    50: '#4e6a4e',
    500: '#06310e',
    950: '#000000',
  },
}
SCSS
$custom: #06310e;
$custom-light: #4e6a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#06310e",
  "rgb": {
    "r": 6,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 131.163,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27524,
    "c": 0.07596,
    "h": 146.1
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#06310E
secondary
#722163
accent
#33D1F5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #06310E

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

Preview Lab → · Contrast checker → · Palette generator →

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