#342C13#342C13

#342C13 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.041 H 92.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#342C13
RGBrgb(52, 44, 19)
HSLhsl(45, 46%, 14%)
HSVhsv(45, 63%, 20%)
CMYKcmyk(0%, 15.4%, 63.5%, 79.6%)
CIE-LABlab(18.27, -0.33, 17.41)
CIE-LCHlch(18.27, 17.41, 91.09°)
OKLaboklab(29.54% -0.0014 0.0412)
OKLCHoklch(29.54% 0.041 92)
XYZxyz(2.4345, 2.5786, 0.9854)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C13 #131B34
analogous
#341C13 #342C13 #2C3413
triadic
#342C13 #13342C #2C1334
tetradic
#342C13 #13341C #131B34 #34132C
square
#342C13 #13341C #131B34 #34132C
split-complementary
#342C13 #132C34 #1C1334
monochromatic
#161308 #161308 #342C13 #615223 #8E7834

Accessibility & contrast

On white

13.86
#342C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#342C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342C13
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C13#FFFFFF#000000##FFFFFF
##342C131.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B11
Deuteranopia (green-blind)
#332E14
Tritanopia (blue-blind)
#382926
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #342c13;
/* rgb */ color: rgb(52, 44, 19);
/* oklch */ color: oklch(29.5% 0.041 92.0);
Tailwind
colors: {
  custom: {
    50: '#6d6451',
    500: '#342c13',
    950: '#000000',
  },
}
SCSS
$custom: #342c13;
$custom-light: #6d6451;
$custom-dark: #000000;
JSON
{
  "hex": "#342c13",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 19
  },
  "hsl": {
    "h": 45.455,
    "s": 46.479,
    "l": 13.922
  },
  "oklch": {
    "l": 0.29535,
    "c": 0.04118,
    "h": 92
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#342C13
secondary
#37446C
accent
#72D652
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070502
muted
#7A7A78

Preview Lab

Preview with #342C13

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

Preview Lab → · Contrast checker → · Palette generator →

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