#0A311D#0A311D

#0A311D is a dark, muted green. Relative luminance 0.024; OKLCH L 28.0% C 0.057 H 156.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#0A311D
RGBrgb(10, 49, 29)
HSLhsl(149, 66%, 12%)
HSVhsv(149, 80%, 19%)
CMYKcmyk(79.6%, 0%, 40.8%, 80.8%)
CIE-LABlab(17.22, -19.34, 8.92)
CIE-LCHlch(17.22, 21.30, 155.24°)
OKLaboklab(27.97% -0.0525 0.0225)
OKLCHoklch(27.97% 0.057 156.8)
XYZxyz(1.4451, 2.3497, 1.5395)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A311D #310A1E
analogous
#0B310A #0A311D #0A3131
triadic
#0A311D #1D0A31 #311D0A
tetradic
#0A311D #0A0B31 #310A1E #31310A
square
#0A311D #0A0B31 #310A1E #31310A
split-complementary
#0A311D #310A31 #310A0B
monochromatic
#05190F #05190F #0A311D #14643B #1F9759

Accessibility & contrast

On white

14.29
#0A311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0A311D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A311D
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A311D#FFFFFF#000000##FFFFFF
##0A311D1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1C
Deuteranopia (green-blind)
#2C291E
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0a311d;
/* rgb */ color: rgb(10, 49, 29);
/* oklch */ color: oklch(28.0% 0.057 156.8);
Tailwind
colors: {
  custom: {
    50: '#4f6959',
    500: '#0a311d',
    950: '#000000',
  },
}
SCSS
$custom: #0a311d;
$custom-light: #4f6959;
$custom-dark: #000000;
JSON
{
  "hex": "#0a311d",
  "rgb": {
    "r": 10,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 149.231,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27974,
    "c": 0.0571,
    "h": 156.8
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#0A311D
secondary
#6E294C
accent
#3F96E9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0A311D

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

Preview Lab → · Contrast checker → · Palette generator →

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