#0F371C#0F371C

#0F371C is a dark, moderate green. Relative luminance 0.029; OKLCH L 30.1% C 0.066 H 151.0°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#0F371C
RGBrgb(15, 55, 28)
HSLhsl(140, 57%, 14%)
HSVhsv(140, 73%, 22%)
CMYKcmyk(72.7%, 0%, 49.1%, 78.4%)
CIE-LABlab(19.71, -21.33, 12.91)
CIE-LCHlch(19.71, 24.93, 148.81°)
OKLaboklab(30.06% -0.0576 0.0319)
OKLCHoklch(30.06% 0.066 151)
XYZxyz(1.7727, 2.9176, 1.5681)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F371C #370F2A
analogous
#16370F #0F371C #0F3730
triadic
#0F371C #1C0F37 #371C0F
tetradic
#0F371C #0F1637 #370F2A #37300F
square
#0F371C #0F1637 #370F2A #37300F
split-complementary
#0F371C #300F37 #370F16
monochromatic
#07180C #07180C #0F371C #1C6734 #29974D

Accessibility & contrast

On white

13.26
#0F371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0F371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F371C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F371C#FFFFFF#000000##FFFFFF
##0F371C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321A
Deuteranopia (green-blind)
#322E1E
Tritanopia (blue-blind)
#033630
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f371c;
/* rgb */ color: rgb(15, 55, 28);
/* oklch */ color: oklch(30.1% 0.066 151.0);
Tailwind
colors: {
  custom: {
    50: '#536e58',
    500: '#0f371c',
    950: '#000000',
  },
}
SCSS
$custom: #0f371c;
$custom-light: #536e58;
$custom-dark: #000000;
JSON
{
  "hex": "#0f371c",
  "rgb": {
    "r": 15,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 139.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30057,
    "c": 0.06589,
    "h": 151
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#0F371C
secondary
#71315C
accent
#47AFE0
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0F371C

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

Preview Lab → · Contrast checker → · Palette generator →

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