#0F381B#0F381B

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

Color values

HEX#0F381B
RGBrgb(15, 56, 27)
HSLhsl(138, 58%, 14%)
HSVhsv(138, 73%, 22%)
CMYKcmyk(73.2%, 0%, 51.8%, 78%)
CIE-LABlab(20.08, -22.02, 14.03)
CIE-LCHlch(20.08, 26.11, 147.50°)
OKLaboklab(30.35% -0.0595 0.0345)
OKLCHoklch(30.35% 0.069 149.9)
XYZxyz(1.8089, 3.0089, 1.5221)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F381B #380F2C
analogous
#18380F #0F381B #0F3830
triadic
#0F381B #1B0F38 #381B0F
tetradic
#0F381B #0F1838 #380F2C #38300F
square
#0F381B #0F1838 #380F2C #38300F
split-complementary
#0F381B #300F38 #380F18
monochromatic
#06180C #06180C #0F381B #1C6832 #29994A

Accessibility & contrast

On white

13.11
#0F381B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F381B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F381B#FFFFFF#000000##FFFFFF
##0F381B1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383319
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#033731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f381b;
/* rgb */ color: rgb(15, 56, 27);
/* oklch */ color: oklch(30.4% 0.069 149.9);
Tailwind
colors: {
  custom: {
    50: '#536f57',
    500: '#0f381b',
    950: '#000000',
  },
}
SCSS
$custom: #0f381b;
$custom-light: #536f57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f381b",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 27
  },
  "hsl": {
    "h": 137.561,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30354,
    "c": 0.06874,
    "h": 149.9
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#0F381B
secondary
#72305F
accent
#47B4E1
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #0F381B

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

Preview Lab → · Contrast checker → · Palette generator →

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