#0F310A#0F310A

#0F310A is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.8% C 0.075 H 141.2°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#0F310A
RGBrgb(15, 49, 10)
HSLhsl(112, 66%, 12%)
HSVhsv(112, 80%, 19%)
CMYKcmyk(69.4%, 0%, 79.6%, 80.8%)
CIE-LABlab(17.08, -21.52, 19.96)
CIE-LCHlch(17.08, 29.35, 137.15°)
OKLaboklab(27.81% -0.0588 0.0472)
OKLCHoklch(27.81% 0.075 141.2)
XYZxyz(1.3500, 2.3200, 0.6638)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F310A #2C0A31
analogous
#23310A #0F310A #0A3119
triadic
#0F310A #0A0F31 #310A0F
tetradic
#0F310A #0A2331 #2C0A31 #31190A
square
#0F310A #0A2331 #2C0A31 #31190A
split-complementary
#0F310A #190A31 #310A23
monochromatic
#081905 #081905 #0F310A #1F6414 #2E971F

Accessibility & contrast

On white

14.34
#0F310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F310A
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F310A#FFFFFF#000000##FFFFFF
##0F310A1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C06
Deuteranopia (green-blind)
#2E290D
Tritanopia (blue-blind)
#0A2F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f310a;
/* rgb */ color: rgb(15, 49, 10);
/* oklch */ color: oklch(27.8% 0.075 141.2);
Tailwind
colors: {
  custom: {
    50: '#52694c',
    500: '#0f310a',
    950: '#000000',
  },
}
SCSS
$custom: #0f310a;
$custom-light: #52694c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f310a",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 112.308,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27805,
    "c": 0.07542,
    "h": 141.2
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#0F310A
secondary
#65296E
accent
#3FE9D3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0F310A

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

Preview Lab → · Contrast checker → · Palette generator →

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