#0F301F#0F301F

#0F301F is a dark, muted green. Relative luminance 0.023; OKLCH L 27.9% C 0.050 H 158.1°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#0F301F
RGBrgb(15, 48, 31)
HSLhsl(149, 52%, 12%)
HSVhsv(149, 69%, 19%)
CMYKcmyk(68.7%, 0%, 35.4%, 81.2%)
CIE-LABlab(17.06, -17.04, 7.37)
CIE-LCHlch(17.06, 18.56, 156.62°)
OKLaboklab(27.9% -0.0466 0.0187)
OKLCHoklch(27.9% 0.05 158.1)
XYZxyz(1.5011, 2.3143, 1.6636)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F301F #300F20
analogous
#10300F #0F301F #0F3030
triadic
#0F301F #1F0F30 #301F0F
tetradic
#0F301F #0F1030 #300F20 #30300F
square
#0F301F #0F1030 #300F20 #30300F
split-complementary
#0F301F #300F30 #300F10
monochromatic
#07170F #07170F #0F301F #1E5F3D #2C8D5B

Accessibility & contrast

On white

14.36
#0F301F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F301F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F301F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F301F#FFFFFF#000000##FFFFFF
##0F301F1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1E
Deuteranopia (green-blind)
#2B2920
Tritanopia (blue-blind)
#04302B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f301f;
/* rgb */ color: rgb(15, 48, 31);
/* oklch */ color: oklch(27.9% 0.050 158.1);
Tailwind
colors: {
  custom: {
    50: '#51685a',
    500: '#0f301f',
    950: '#000000',
  },
}
SCSS
$custom: #0f301f;
$custom-light: #51685a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f301f",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 31
  },
  "hsl": {
    "h": 149.091,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27902,
    "c": 0.05017,
    "h": 158.1
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#0F301F
secondary
#6A314E
accent
#4C96DC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0F301F

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

Preview Lab → · Contrast checker → · Palette generator →

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