#0F310C#0F310C

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

Color values

HEX#0F310C
RGBrgb(15, 49, 12)
HSLhsl(115, 61%, 12%)
HSVhsv(115, 76%, 19%)
CMYKcmyk(69.4%, 0%, 75.5%, 80.8%)
CIE-LABlab(17.11, -21.26, 19.13)
CIE-LCHlch(17.11, 28.60, 138.03°)
OKLaboklab(27.83% -0.058 0.0453)
OKLCHoklch(27.83% 0.074 142)
XYZxyz(1.3616, 2.3246, 0.7247)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F310C #2E0C31
analogous
#22310C #0F310C #0C311C
triadic
#0F310C #0C0F31 #310C0F
tetradic
#0F310C #0C2231 #2E0C31 #311C0C
square
#0F310C #0C2231 #2E0C31 #311C0C
split-complementary
#0F310C #1C0C31 #310C22
monochromatic
#081906 #081906 #0F310C #1E6218 #2D9324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F310C#FFFFFF#000000##FFFFFF
##0F310C1.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)
#322C08
Deuteranopia (green-blind)
#2E290F
Tritanopia (blue-blind)
#0A2F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f310c;
/* rgb */ color: rgb(15, 49, 12);
/* oklch */ color: oklch(27.8% 0.074 142.0);
Tailwind
colors: {
  custom: {
    50: '#52694d',
    500: '#0f310c',
    950: '#000000',
  },
}
SCSS
$custom: #0f310c;
$custom-light: #52694d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f310c",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 115.135,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2783,
    "c": 0.07356,
    "h": 142
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#0F310C
secondary
#682C6D
accent
#44E4D7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0F310C

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

Preview Lab → · Contrast checker → · Palette generator →

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