#0F370C#0F370C

#0F370C is a dark, moderate green. Relative luminance 0.029; OKLCH L 29.8% C 0.083 H 142.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#0F370C
RGBrgb(15, 55, 12)
HSLhsl(116, 64%, 13%)
HSVhsv(116, 78%, 22%)
CMYKcmyk(72.7%, 0%, 78.2%, 78.4%)
CIE-LABlab(19.48, -23.99, 21.94)
CIE-LCHlch(19.48, 32.50, 137.56°)
OKLaboklab(29.79% -0.0653 0.0508)
OKLCHoklch(29.79% 0.083 142.1)
XYZxyz(1.6295, 2.8603, 0.8140)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F370C #340C37
analogous
#24370C #0F370C #0C371E
triadic
#0F370C #0C0F37 #370C0F
tetradic
#0F370C #0C2437 #340C37 #371E0C
square
#0F370C #0C2437 #340C37 #371E0C
split-complementary
#0F370C #1E0C37 #370C24
monochromatic
#071905 #071905 #0F370C #1D6917 #2A9B22

Accessibility & contrast

On white

13.36
#0F370C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F370C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F370C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F370C#FFFFFF#000000##FFFFFF
##0F370C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383107
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#08352E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f370c;
/* rgb */ color: rgb(15, 55, 12);
/* oklch */ color: oklch(29.8% 0.083 142.1);
Tailwind
colors: {
  custom: {
    50: '#536e4d',
    500: '#0f370c',
    950: '#000000',
  },
}
SCSS
$custom: #0f370c;
$custom-light: #536e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f370c",
  "rgb": {
    "r": 15,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 115.814,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29787,
    "c": 0.08276,
    "h": 142.1
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#0F370C
secondary
#6E2C73
accent
#41E7DC
background
#F5F6F4
surface
#E8ECE7
border
#C4C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0F370C

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

Preview Lab → · Contrast checker → · Palette generator →

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