#0F381F#0F381F

#0F381F is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.4% C 0.064 H 153.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#0F381F
RGBrgb(15, 56, 31)
HSLhsl(143, 58%, 14%)
HSVhsv(143, 73%, 22%)
CMYKcmyk(73.2%, 0%, 44.6%, 78%)
CIE-LABlab(20.16, -21.16, 11.56)
CIE-LCHlch(20.16, 24.11, 151.35°)
OKLaboklab(30.45% -0.0572 0.0288)
OKLCHoklch(30.45% 0.064 153.3)
XYZxyz(1.8583, 3.0286, 1.7827)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F381F #380F28
analogous
#14380F #0F381F #0F3834
triadic
#0F381F #1F0F38 #381F0F
tetradic
#0F381F #0F1438 #380F28 #38340F
square
#0F381F #0F1438 #380F28 #38340F
split-complementary
#0F381F #340F38 #380F14
monochromatic
#06180D #06180D #0F381F #1C683A #299954

Accessibility & contrast

On white

13.08
#0F381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0F381F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F381F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F381F#FFFFFF#000000##FFFFFF
##0F381F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#332F21
Tritanopia (blue-blind)
#023732
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f381f;
/* rgb */ color: rgb(15, 56, 31);
/* oklch */ color: oklch(30.4% 0.064 153.3);
Tailwind
colors: {
  custom: {
    50: '#536f5a',
    500: '#0f381f',
    950: '#000000',
  },
}
SCSS
$custom: #0f381f;
$custom-light: #536f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f381f",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 143.415,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30445,
    "c": 0.06409,
    "h": 153.3
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#0F381F
secondary
#723059
accent
#47A5E1
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #0F381F

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

Preview Lab → · Contrast checker → · Palette generator →

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