#342F14#342F14

#342F14 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.043 H 99.0°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#342F14
RGBrgb(52, 47, 20)
HSLhsl(51, 44%, 14%)
HSVhsv(51, 62%, 20%)
CMYKcmyk(0%, 9.6%, 61.5%, 79.6%)
CIE-LABlab(19.28, -2.22, 17.99)
CIE-LCHlch(19.28, 18.13, 97.03°)
OKLaboklab(30.34% -0.0068 0.0426)
OKLCHoklch(30.34% 0.043 99)
XYZxyz(2.5590, 2.8137, 1.0700)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F14 #141934
analogous
#341F14 #342F14 #293414
triadic
#342F14 #14342F #2F1434
tetradic
#342F14 #14341F #141934 #341429
square
#342F14 #14341F #141934 #341429
split-complementary
#342F14 #142934 #1F1434
monochromatic
#161409 #161409 #342F14 #605725 #8C7F36

Accessibility & contrast

On white

13.44
#342F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#342F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F14
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F14#FFFFFF#000000##FFFFFF
##342F141.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E12
Deuteranopia (green-blind)
#353015
Tritanopia (blue-blind)
#382C29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342f14;
/* rgb */ color: rgb(52, 47, 20);
/* oklch */ color: oklch(30.3% 0.043 99.0);
Tailwind
colors: {
  custom: {
    50: '#6c6752',
    500: '#342f14',
    950: '#000000',
  },
}
SCSS
$custom: #342f14;
$custom-light: #6c6752;
$custom-dark: #000000;
JSON
{
  "hex": "#342f14",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 20
  },
  "hsl": {
    "h": 50.625,
    "s": 44.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.04308,
    "h": 99
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#342F14
secondary
#38406B
accent
#68D454
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #342F14

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

Preview Lab → · Contrast checker → · Palette generator →

#342F14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva