#0F371F#0F371F

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

Color values

HEX#0F371F
RGBrgb(15, 55, 31)
HSLhsl(144, 57%, 14%)
HSVhsv(144, 73%, 22%)
CMYKcmyk(72.7%, 0%, 43.6%, 78.4%)
CIE-LABlab(19.77, -20.66, 11.04)
CIE-LCHlch(19.77, 23.43, 151.87°)
OKLaboklab(30.13% -0.0559 0.0276)
OKLCHoklch(30.13% 0.062 153.7)
XYZxyz(1.8104, 2.9327, 1.7667)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F371F #370F27
analogous
#13370F #0F371F #0F3733
triadic
#0F371F #1F0F37 #371F0F
tetradic
#0F371F #0F1337 #370F27 #37330F
square
#0F371F #0F1337 #370F27 #37330F
split-complementary
#0F371F #330F37 #370F13
monochromatic
#07180E #07180E #0F371F #1C673A #299755

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F371F#FFFFFF#000000##FFFFFF
##0F371F1.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)
#37321D
Deuteranopia (green-blind)
#322E21
Tritanopia (blue-blind)
#023631
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f371f;
/* rgb */ color: rgb(15, 55, 31);
/* oklch */ color: oklch(30.1% 0.062 153.7);
Tailwind
colors: {
  custom: {
    50: '#536e5a',
    500: '#0f371f',
    950: '#000000',
  },
}
SCSS
$custom: #0f371f;
$custom-light: #536e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f371f",
  "rgb": {
    "r": 15,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 144,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30128,
    "c": 0.0624,
    "h": 153.7
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#0F371F
secondary
#713157
accent
#47A3E0
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0F371F

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

Preview Lab → · Contrast checker → · Palette generator →

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