#0F391C#0F391C

#0F391C is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.7% C 0.069 H 150.3°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#0F391C
RGBrgb(15, 57, 28)
HSLhsl(139, 58%, 14%)
HSVhsv(139, 74%, 22%)
CMYKcmyk(73.7%, 0%, 50.9%, 77.6%)
CIE-LABlab(20.48, -22.29, 13.91)
CIE-LCHlch(20.48, 26.28, 148.03°)
OKLaboklab(30.69% -0.0602 0.0343)
OKLCHoklch(30.69% 0.069 150.3)
XYZxyz(1.8696, 3.1115, 1.6004)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F391C #390F2C
analogous
#17390F #0F391C #0F3931
triadic
#0F391C #1C0F39 #391C0F
tetradic
#0F391C #0F1739 #390F2C #39310F
square
#0F391C #0F1739 #390F2C #39310F
split-complementary
#0F391C #310F39 #390F17
monochromatic
#06180C #06180C #0F391C #1C6934 #299A4C

Accessibility & contrast

On white

12.94
#0F391C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0F391C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F391C
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F391C#FFFFFF#000000##FFFFFF
##0F391C1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341A
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#033832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f391c;
/* rgb */ color: rgb(15, 57, 28);
/* oklch */ color: oklch(30.7% 0.069 150.3);
Tailwind
colors: {
  custom: {
    50: '#537058',
    500: '#0f391c',
    950: '#000000',
  },
}
SCSS
$custom: #0f391c;
$custom-light: #537058;
$custom-dark: #000000;
JSON
{
  "hex": "#0f391c",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 28
  },
  "hsl": {
    "h": 138.571,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.30694,
    "c": 0.06925,
    "h": 150.3
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#0F391C
secondary
#73305F
accent
#46B1E2
background
#F4F6F5
surface
#E8ECE9
border
#C4C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #0F391C

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

Preview Lab → · Contrast checker → · Palette generator →

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