#0F340B#0F340B

#0F340B is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.8% C 0.079 H 141.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#0F340B
RGBrgb(15, 52, 11)
HSLhsl(114, 65%, 12%)
HSVhsv(114, 79%, 20%)
CMYKcmyk(71.2%, 0%, 78.8%, 79.6%)
CIE-LABlab(18.28, -22.77, 20.99)
CIE-LCHlch(18.28, 30.97, 137.33°)
OKLaboklab(28.8% -0.0621 0.049)
OKLCHoklch(28.8% 0.079 141.7)
XYZxyz(1.4853, 2.5816, 0.7366)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F340B #300B34
analogous
#24340B #0F340B #0B341B
triadic
#0F340B #0B0F34 #340B0F
tetradic
#0F340B #0B2434 #300B34 #341B0B
square
#0F340B #0B2434 #300B34 #341B0B
split-complementary
#0F340B #1B0B34 #340B24
monochromatic
#071905 #071905 #0F340B #1E6716 #2C9920

Accessibility & contrast

On white

13.85
#0F340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F340B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F340B#FFFFFF#000000##FFFFFF
##0F340B1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F06
Deuteranopia (green-blind)
#312B0F
Tritanopia (blue-blind)
#09322C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f340b;
/* rgb */ color: rgb(15, 52, 11);
/* oklch */ color: oklch(28.8% 0.079 141.7);
Tailwind
colors: {
  custom: {
    50: '#536c4c',
    500: '#0f340b',
    950: '#000000',
  },
}
SCSS
$custom: #0f340b;
$custom-light: #536c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f340b",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 114.146,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28798,
    "c": 0.07912,
    "h": 141.7
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#0F340B
secondary
#6A2A71
accent
#40E8D8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0F340B

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

Preview Lab → · Contrast checker → · Palette generator →

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