#0A310F#0A310F

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

Color values

HEX#0A310F
RGBrgb(10, 49, 15)
HSLhsl(128, 66%, 12%)
HSVhsv(128, 80%, 19%)
CMYKcmyk(79.6%, 0%, 69.4%, 80.8%)
CIE-LABlab(16.97, -22.23, 17.44)
CIE-LCHlch(16.97, 28.26, 141.89°)
OKLaboklab(27.68% -0.0601 0.0415)
OKLCHoklch(27.68% 0.073 145.3)
XYZxyz(1.3096, 2.2955, 0.8259)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A310F #310A2C
analogous
#19310A #0A310F #0A3123
triadic
#0A310F #0F0A31 #310F0A
tetradic
#0A310F #0A1931 #310A2C #31230A
square
#0A310F #0A1931 #310A2C #31230A
split-complementary
#0A310F #230A31 #310A19
monochromatic
#051908 #051908 #0A310F #14641F #1F972E

Accessibility & contrast

On white

14.39
#0A310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A310F
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A310F#FFFFFF#000000##FFFFFF
##0A310F1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a310f;
/* rgb */ color: rgb(10, 49, 15);
/* oklch */ color: oklch(27.7% 0.073 145.3);
Tailwind
colors: {
  custom: {
    50: '#4f694e',
    500: '#0a310f',
    950: '#000000',
  },
}
SCSS
$custom: #0a310f;
$custom-light: #4f694e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a310f",
  "rgb": {
    "r": 10,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 127.692,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27678,
    "c": 0.07306,
    "h": 145.3
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#0A310F
secondary
#6E2965
accent
#3FD3E9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0A310F

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

Preview Lab → · Contrast checker → · Palette generator →

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