#0F381A#0F381A

#0F381A is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.070 H 149.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#0F381A
RGBrgb(15, 56, 26)
HSLhsl(136, 58%, 14%)
HSVhsv(136, 73%, 22%)
CMYKcmyk(73.2%, 0%, 53.6%, 78%)
CIE-LABlab(20.06, -22.22, 14.64)
CIE-LCHlch(20.06, 26.61, 146.63°)
OKLaboklab(30.33% -0.06 0.0358)
OKLCHoklch(30.33% 0.07 149.1)
XYZxyz(1.7975, 3.0043, 1.4622)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F381A #380F2D
analogous
#19380F #0F381A #0F382F
triadic
#0F381A #1A0F38 #381A0F
tetradic
#0F381A #0F1938 #380F2D #382F0F
square
#0F381A #0F1938 #380F2D #382F0F
split-complementary
#0F381A #2F0F38 #380F19
monochromatic
#06180B #06180B #0F381A #1C6830 #299947

Accessibility & contrast

On white

13.12
#0F381A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F381A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F381A#FFFFFF#000000##FFFFFF
##0F381A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393318
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#043731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f381a;
/* rgb */ color: rgb(15, 56, 26);
/* oklch */ color: oklch(30.3% 0.070 149.1);
Tailwind
colors: {
  custom: {
    50: '#536f57',
    500: '#0f381a',
    950: '#000000',
  },
}
SCSS
$custom: #0f381a;
$custom-light: #536f57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f381a",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 26
  },
  "hsl": {
    "h": 136.098,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30333,
    "c": 0.06989,
    "h": 149.1
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#0F381A
secondary
#723061
accent
#47B8E1
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #0F381A

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

Preview Lab → · Contrast checker → · Palette generator →

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