#0F371B#0F371B

#0F371B is a dark, moderate green. Relative luminance 0.029; OKLCH L 30.0% C 0.067 H 150.2°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#0F371B
RGBrgb(15, 55, 27)
HSLhsl(138, 57%, 14%)
HSVhsv(138, 73%, 22%)
CMYKcmyk(72.7%, 0%, 50.9%, 78.4%)
CIE-LABlab(19.69, -21.54, 13.53)
CIE-LCHlch(19.69, 25.44, 147.87°)
OKLaboklab(30.04% -0.0582 0.0333)
OKLCHoklch(30.04% 0.067 150.2)
XYZxyz(1.7609, 2.9129, 1.5061)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F371B #370F2B
analogous
#17370F #0F371B #0F372F
triadic
#0F371B #1B0F37 #371B0F
tetradic
#0F371B #0F1737 #370F2B #372F0F
square
#0F371B #0F1737 #370F2B #372F0F
split-complementary
#0F371B #2F0F37 #370F17
monochromatic
#07180C #07180C #0F371B #1C6733 #29974A

Accessibility & contrast

On white

13.27
#0F371B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F371B
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F371B#FFFFFF#000000##FFFFFF
##0F371B1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373219
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#043630
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f371b;
/* rgb */ color: rgb(15, 55, 27);
/* oklch */ color: oklch(30.0% 0.067 150.2);
Tailwind
colors: {
  custom: {
    50: '#536e57',
    500: '#0f371b',
    950: '#000000',
  },
}
SCSS
$custom: #0f371b;
$custom-light: #536e57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f371b",
  "rgb": {
    "r": 15,
    "g": 55,
    "b": 27
  },
  "hsl": {
    "h": 138,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30035,
    "c": 0.06705,
    "h": 150.2
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#0F371B
secondary
#71315E
accent
#47B3E0
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0F371B

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

Preview Lab → · Contrast checker → · Palette generator →

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