#0F371E#0F371E

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

Color values

HEX#0F371E
RGBrgb(15, 55, 30)
HSLhsl(143, 57%, 14%)
HSVhsv(143, 73%, 22%)
CMYKcmyk(72.7%, 0%, 45.5%, 78.4%)
CIE-LABlab(19.75, -20.89, 11.67)
CIE-LCHlch(19.75, 23.93, 150.81°)
OKLaboklab(30.1% -0.0565 0.0291)
OKLCHoklch(30.1% 0.064 152.8)
XYZxyz(1.7974, 2.9275, 1.6984)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F371E #370F28
analogous
#14370F #0F371E #0F3732
triadic
#0F371E #1E0F37 #371E0F
tetradic
#0F371E #0F1437 #370F28 #37320F
square
#0F371E #0F1437 #370F28 #37320F
split-complementary
#0F371E #320F37 #370F14
monochromatic
#07180D #07180D #0F371E #1C6738 #299752

Accessibility & contrast

On white

13.24
#0F371E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F371E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F371E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F371E#FFFFFF#000000##FFFFFF
##0F371E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321C
Deuteranopia (green-blind)
#322E20
Tritanopia (blue-blind)
#023631
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f371e;
/* rgb */ color: rgb(15, 55, 30);
/* oklch */ color: oklch(30.1% 0.064 152.8);
Tailwind
colors: {
  custom: {
    50: '#536e5a',
    500: '#0f371e',
    950: '#000000',
  },
}
SCSS
$custom: #0f371e;
$custom-light: #536e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f371e",
  "rgb": {
    "r": 15,
    "g": 55,
    "b": 30
  },
  "hsl": {
    "h": 142.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30103,
    "c": 0.06355,
    "h": 152.8
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#0F371E
secondary
#713159
accent
#47A7E0
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0F371E

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

Preview Lab → · Contrast checker → · Palette generator →

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