#0F331A#0F331A

#0F331A is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.7% C 0.061 H 150.7°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#0F331A
RGBrgb(15, 51, 26)
HSLhsl(138, 55%, 13%)
HSVhsv(138, 71%, 20%)
CMYKcmyk(70.6%, 0%, 49%, 80%)
CIE-LABlab(18.11, -19.78, 12.13)
CIE-LCHlch(18.11, 23.20, 148.49°)
OKLaboklab(28.73% -0.0535 0.03)
OKLCHoklch(28.73% 0.061 150.7)
XYZxyz(1.5672, 2.5436, 1.3855)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F331A #330F28
analogous
#16330F #0F331A #0F332C
triadic
#0F331A #1A0F33 #331A0F
tetradic
#0F331A #0F1633 #330F28 #332C0F
square
#0F331A #0F1633 #330F28 #332C0F
split-complementary
#0F331A #2C0F33 #330F16
monochromatic
#07180C #07180C #0F331A #1D6232 #2B924A

Accessibility & contrast

On white

13.92
#0F331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F331A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F331A
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F331A#FFFFFF#000000##FFFFFF
##0F331A1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E18
Deuteranopia (green-blind)
#2F2B1C
Tritanopia (blue-blind)
#05322D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f331a;
/* rgb */ color: rgb(15, 51, 26);
/* oklch */ color: oklch(28.7% 0.061 150.7);
Tailwind
colors: {
  custom: {
    50: '#526b56',
    500: '#0f331a',
    950: '#000000',
  },
}
SCSS
$custom: #0f331a;
$custom-light: #526b56;
$custom-dark: #000000;
JSON
{
  "hex": "#0f331a",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 138.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.28732,
    "c": 0.06137,
    "h": 150.7
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#0F331A
secondary
#6D315B
accent
#4AB1DE
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0F331A

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

Preview Lab → · Contrast checker → · Palette generator →

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