#06310F#06310F

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

Color values

HEX#06310F
RGBrgb(6, 49, 15)
HSLhsl(133, 78%, 11%)
HSVhsv(133, 88%, 19%)
CMYKcmyk(87.8%, 0%, 69.4%, 80.8%)
CIE-LABlab(16.84, -23.25, 17.26)
CIE-LCHlch(16.84, 28.95, 143.41°)
OKLaboklab(27.54% -0.0626 0.0412)
OKLCHoklch(27.54% 0.075 146.7)
XYZxyz(1.2595, 2.2697, 0.8236)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06310F #310628
analogous
#123106 #06310F #063124
triadic
#06310F #0F0631 #310F06
tetradic
#06310F #061231 #310628 #312406
square
#06310F #061231 #310628 #312406
split-complementary
#06310F #240631 #310612
monochromatic
#031B08 #031B08 #06310F #0D6820 #139E30

Accessibility & contrast

On white

14.44
#06310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06310F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06310F#FFFFFF#000000##FFFFFF
##06310F1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#2D2812
Tritanopia (blue-blind)
#00302A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #06310f;
/* rgb */ color: rgb(6, 49, 15);
/* oklch */ color: oklch(27.5% 0.075 146.7);
Tailwind
colors: {
  custom: {
    50: '#4e6a4e',
    500: '#06310f',
    950: '#000000',
  },
}
SCSS
$custom: #06310f;
$custom-light: #4e6a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#06310f",
  "rgb": {
    "r": 6,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 132.558,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2754,
    "c": 0.07494,
    "h": 146.7
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#06310F
secondary
#722161
accent
#33CCF5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #06310F

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

Preview Lab → · Contrast checker → · Palette generator →

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