#0A310E#0A310E

#0A310E is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.7% C 0.074 H 144.8°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#0A310E
RGBrgb(10, 49, 14)
HSLhsl(126, 66%, 12%)
HSVhsv(126, 80%, 19%)
CMYKcmyk(79.6%, 0%, 71.4%, 80.8%)
CIE-LABlab(16.95, -22.39, 17.94)
CIE-LCHlch(16.95, 28.69, 141.29°)
OKLaboklab(27.66% -0.0606 0.0427)
OKLCHoklch(27.66% 0.074 144.8)
XYZxyz(1.3027, 2.2927, 0.7893)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A310E #310A2D
analogous
#1A310A #0A310E #0A3122
triadic
#0A310E #0E0A31 #310E0A
tetradic
#0A310E #0A1A31 #310A2D #31220A
square
#0A310E #0A1A31 #310A2D #31220A
split-complementary
#0A310E #220A31 #310A1A
monochromatic
#051907 #051907 #0A310E #14641D #1F972B

Accessibility & contrast

On white

14.40
#0A310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0A310E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A310E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A310E#FFFFFF#000000##FFFFFF
##0A310E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0A
Deuteranopia (green-blind)
#2D2911
Tritanopia (blue-blind)
#023029
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0a310e;
/* rgb */ color: rgb(10, 49, 14);
/* oklch */ color: oklch(27.7% 0.074 144.8);
Tailwind
colors: {
  custom: {
    50: '#4f694e',
    500: '#0a310e',
    950: '#000000',
  },
}
SCSS
$custom: #0a310e;
$custom-light: #4f694e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a310e",
  "rgb": {
    "r": 10,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 126.154,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27663,
    "c": 0.07409,
    "h": 144.8
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#0A310E
secondary
#6E2967
accent
#3FD8E9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0A310E

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

Preview Lab → · Contrast checker → · Palette generator →

#0A310E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva