#0F381C#0F381C

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

Color values

HEX#0F381C
RGBrgb(15, 56, 28)
HSLhsl(139, 58%, 14%)
HSVhsv(139, 73%, 22%)
CMYKcmyk(73.2%, 0%, 50%, 78%)
CIE-LABlab(20.10, -21.81, 13.41)
CIE-LCHlch(20.10, 25.61, 148.41°)
OKLaboklab(30.38% -0.0589 0.0331)
OKLCHoklch(30.38% 0.068 150.7)
XYZxyz(1.8206, 3.0136, 1.5841)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F381C #380F2B
analogous
#17380F #0F381C #0F3831
triadic
#0F381C #1C0F38 #381C0F
tetradic
#0F381C #0F1738 #380F2B #38310F
square
#0F381C #0F1738 #380F2B #38310F
split-complementary
#0F381C #310F38 #380F17
monochromatic
#06180C #06180C #0F381C #1C6834 #29994C

Accessibility & contrast

On white

13.10
#0F381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0F381C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F381C
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F381C#FFFFFF#000000##FFFFFF
##0F381C1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331A
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#033731
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f381c;
/* rgb */ color: rgb(15, 56, 28);
/* oklch */ color: oklch(30.4% 0.068 150.7);
Tailwind
colors: {
  custom: {
    50: '#536f58',
    500: '#0f381c',
    950: '#000000',
  },
}
SCSS
$custom: #0f381c;
$custom-light: #536f58;
$custom-dark: #000000;
JSON
{
  "hex": "#0f381c",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 139.024,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30376,
    "c": 0.06758,
    "h": 150.7
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#0F381C
secondary
#72305D
accent
#47B0E1
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #0F381C

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

Preview Lab → · Contrast checker → · Palette generator →

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