#0F310E#0F310E

#0F310E is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.9% C 0.072 H 142.9°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#0F310E
RGBrgb(15, 49, 14)
HSLhsl(118, 56%, 12%)
HSVhsv(118, 71%, 19%)
CMYKcmyk(69.4%, 0%, 71.4%, 80.8%)
CIE-LABlab(17.13, -20.99, 18.20)
CIE-LCHlch(17.13, 27.78, 139.07°)
OKLaboklab(27.86% -0.0571 0.0432)
OKLCHoklch(27.86% 0.072 142.9)
XYZxyz(1.3745, 2.3298, 0.7926)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F310E #300E31
analogous
#20310E #0F310E #0E311F
triadic
#0F310E #0E0F31 #310E0F
tetradic
#0F310E #0E2031 #300E31 #311F0E
square
#0F310E #0E2031 #300E31 #311F0E
split-complementary
#0F310E #1F0E31 #310E20
monochromatic
#071807 #071807 #0F310E #1E611C #2C9029

Accessibility & contrast

On white

14.32
#0F310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F310E
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F310E#FFFFFF#000000##FFFFFF
##0F310E1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0A
Deuteranopia (green-blind)
#2E2911
Tritanopia (blue-blind)
#092F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f310e;
/* rgb */ color: rgb(15, 49, 14);
/* oklch */ color: oklch(27.9% 0.072 142.9);
Tailwind
colors: {
  custom: {
    50: '#52694e',
    500: '#0f310e',
    950: '#000000',
  },
}
SCSS
$custom: #0f310e;
$custom-light: #52694e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f310e",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 118.286,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27858,
    "c": 0.07158,
    "h": 142.9
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#0F310E
secondary
#6A2F6C
accent
#49DFDB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0F310E

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

Preview Lab → · Contrast checker → · Palette generator →

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