#0F310D#0F310D

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

Color values

HEX#0F310D
RGBrgb(15, 49, 13)
HSLhsl(117, 58%, 12%)
HSVhsv(117, 73%, 19%)
CMYKcmyk(69.4%, 0%, 73.5%, 80.8%)
CIE-LABlab(17.12, -21.13, 18.67)
CIE-LCHlch(17.12, 28.20, 138.53°)
OKLaboklab(27.84% -0.0575 0.0443)
OKLCHoklch(27.84% 0.073 142.4)
XYZxyz(1.3679, 2.3271, 0.7578)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F310D #2F0D31
analogous
#21310D #0F310D #0D311D
triadic
#0F310D #0D0F31 #310D0F
tetradic
#0F310D #0D2131 #2F0D31 #311D0D
square
#0F310D #0D2131 #2F0D31 #311D0D
split-complementary
#0F310D #1D0D31 #310D21
monochromatic
#071806 #071806 #0F310D #1E611A #2D9227

Accessibility & contrast

On white

14.33
#0F310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F310D
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F310D#FFFFFF#000000##FFFFFF
##0F310D1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f310d;
/* rgb */ color: rgb(15, 49, 13);
/* oklch */ color: oklch(27.8% 0.073 142.4);
Tailwind
colors: {
  custom: {
    50: '#52694d',
    500: '#0f310d',
    950: '#000000',
  },
}
SCSS
$custom: #0f310d;
$custom-light: #52694d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f310d",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 116.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27844,
    "c": 0.07258,
    "h": 142.4
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#0F310D
secondary
#692E6C
accent
#47E1D9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0F310D

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

Preview Lab → · Contrast checker → · Palette generator →

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