#0F310B#0F310B

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

Color values

HEX#0F310B
RGBrgb(15, 49, 11)
HSLhsl(114, 63%, 12%)
HSVhsv(114, 78%, 19%)
CMYKcmyk(69.4%, 0%, 77.6%, 80.8%)
CIE-LABlab(17.09, -21.39, 19.56)
CIE-LCHlch(17.09, 28.98, 137.56°)
OKLaboklab(27.82% -0.0584 0.0463)
OKLCHoklch(27.82% 0.075 141.6)
XYZxyz(1.3557, 2.3222, 0.6933)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F310B #2D0B31
analogous
#22310B #0F310B #0B311A
triadic
#0F310B #0B0F31 #310B0F
tetradic
#0F310B #0B2231 #2D0B31 #311A0B
square
#0F310B #0B2231 #2D0B31 #311A0B
split-complementary
#0F310B #1A0B31 #310B22
monochromatic
#081906 #081906 #0F310B #1E6316 #2E9521

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F310B#FFFFFF#000000##FFFFFF
##0F310B1.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)
#322C07
Deuteranopia (green-blind)
#2E290E
Tritanopia (blue-blind)
#0A2F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f310b;
/* rgb */ color: rgb(15, 49, 11);
/* oklch */ color: oklch(27.8% 0.075 141.6);
Tailwind
colors: {
  custom: {
    50: '#52694c',
    500: '#0f310b',
    950: '#000000',
  },
}
SCSS
$custom: #0f310b;
$custom-light: #52694c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f310b",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 113.684,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27817,
    "c": 0.07451,
    "h": 141.6
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#0F310B
secondary
#662A6E
accent
#41E6D5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0F310B

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

Preview Lab → · Contrast checker → · Palette generator →

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