#0F340C#0F340C

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

Color values

HEX#0F340C
RGBrgb(15, 52, 12)
HSLhsl(116, 63%, 13%)
HSVhsv(116, 77%, 20%)
CMYKcmyk(71.2%, 0%, 76.9%, 79.6%)
CIE-LABlab(18.29, -22.64, 20.56)
CIE-LCHlch(18.29, 30.58, 137.77°)
OKLaboklab(28.81% -0.0617 0.0481)
OKLCHoklch(28.81% 0.078 142.1)
XYZxyz(1.4913, 2.5839, 0.7679)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F340C #310C34
analogous
#23340C #0F340C #0C341D
triadic
#0F340C #0C0F34 #340C0F
tetradic
#0F340C #0C2334 #310C34 #341D0C
square
#0F340C #0C2334 #310C34 #341D0C
split-complementary
#0F340C #1D0C34 #340C23
monochromatic
#071906 #071906 #0F340C #1D6617 #2C9723

Accessibility & contrast

On white

13.84
#0F340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F340C
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F340C#FFFFFF#000000##FFFFFF
##0F340C1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f340c;
/* rgb */ color: rgb(15, 52, 12);
/* oklch */ color: oklch(28.8% 0.078 142.1);
Tailwind
colors: {
  custom: {
    50: '#536c4d',
    500: '#0f340c',
    950: '#000000',
  },
}
SCSS
$custom: #0f340c;
$custom-light: #536c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f340c",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 115.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28811,
    "c": 0.07823,
    "h": 142.1
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#0F340C
secondary
#6B2C70
accent
#42E6D9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0F340C

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

Preview Lab → · Contrast checker → · Palette generator →

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