#0F331B#0F331B

#0F331B is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.8% C 0.060 H 151.6°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#0F331B
RGBrgb(15, 51, 27)
HSLhsl(140, 55%, 13%)
HSVhsv(140, 71%, 20%)
CMYKcmyk(70.6%, 0%, 47.1%, 80%)
CIE-LABlab(18.14, -19.57, 11.50)
CIE-LCHlch(18.14, 22.70, 149.56°)
OKLaboklab(28.76% -0.053 0.0286)
OKLCHoklch(28.76% 0.06 151.6)
XYZxyz(1.5785, 2.5482, 1.4454)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F331B #330F27
analogous
#15330F #0F331B #0F332D
triadic
#0F331B #1B0F33 #331B0F
tetradic
#0F331B #0F1533 #330F27 #332D0F
square
#0F331B #0F1533 #330F27 #332D0F
split-complementary
#0F331B #2D0F33 #330F15
monochromatic
#07180D #07180D #0F331B #1D6234 #2B924D

Accessibility & contrast

On white

13.91
#0F331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F331B
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F331B#FFFFFF#000000##FFFFFF
##0F331B1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f331b;
/* rgb */ color: rgb(15, 51, 27);
/* oklch */ color: oklch(28.8% 0.060 151.6);
Tailwind
colors: {
  custom: {
    50: '#526b57',
    500: '#0f331b',
    950: '#000000',
  },
}
SCSS
$custom: #0f331b;
$custom-light: #526b57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f331b",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 140,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.28756,
    "c": 0.06019,
    "h": 151.6
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#0F331B
secondary
#6D3159
accent
#4AADDE
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0F331B

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

Preview Lab → · Contrast checker → · Palette generator →

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