#0F391F#0F391F

#0F391F is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.8% C 0.066 H 152.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#0F391F
RGBrgb(15, 57, 31)
HSLhsl(143, 58%, 14%)
HSVhsv(143, 74%, 22%)
CMYKcmyk(73.7%, 0%, 45.6%, 77.6%)
CIE-LABlab(20.54, -21.64, 12.07)
CIE-LCHlch(20.54, 24.78, 150.86°)
OKLaboklab(30.76% -0.0585 0.0301)
OKLCHoklch(30.76% 0.066 152.8)
XYZxyz(1.9073, 3.1265, 1.7990)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F391F #390F29
analogous
#14390F #0F391F #0F3934
triadic
#0F391F #1F0F39 #391F0F
tetradic
#0F391F #0F1439 #390F29 #39340F
square
#0F391F #0F1439 #390F29 #39340F
split-complementary
#0F391F #340F39 #390F14
monochromatic
#06180D #06180D #0F391F #1C6939 #299A54

Accessibility & contrast

On white

12.92
#0F391F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0F391F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F391F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F391F#FFFFFF#000000##FFFFFF
##0F391F1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341D
Deuteranopia (green-blind)
#343021
Tritanopia (blue-blind)
#013832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f391f;
/* rgb */ color: rgb(15, 57, 31);
/* oklch */ color: oklch(30.8% 0.066 152.8);
Tailwind
colors: {
  custom: {
    50: '#53705a',
    500: '#0f391f',
    950: '#000000',
  },
}
SCSS
$custom: #0f391f;
$custom-light: #53705a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f391f",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 31
  },
  "hsl": {
    "h": 142.857,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.30762,
    "c": 0.06578,
    "h": 152.8
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#0F391F
secondary
#73305A
accent
#46A6E2
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #0F391F

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

Preview Lab → · Contrast checker → · Palette generator →

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