#342D13#342D13

#342D13 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.042 H 94.6°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#342D13
RGBrgb(52, 45, 19)
HSLhsl(47, 46%, 14%)
HSVhsv(47, 63%, 20%)
CMYKcmyk(0%, 13.5%, 63.5%, 79.6%)
CIE-LABlab(18.60, -1.00, 17.80)
CIE-LCHlch(18.60, 17.83, 93.21°)
OKLaboklab(29.8% -0.0034 0.042)
OKLCHoklch(29.8% 0.042 94.6)
XYZxyz(2.4722, 2.6540, 0.9980)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D13 #131A34
analogous
#341D13 #342D13 #2B3413
triadic
#342D13 #13342D #2D1334
tetradic
#342D13 #13341D #131A34 #34132B
square
#342D13 #13341D #131A34 #34132B
split-complementary
#342D13 #132B34 #1D1334
monochromatic
#161308 #161308 #342D13 #615423 #8E7B34

Accessibility & contrast

On white

13.72
#342D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#342D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342D13
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D13#FFFFFF#000000##FFFFFF
##342D131.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C11
Deuteranopia (green-blind)
#332E14
Tritanopia (blue-blind)
#382A27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #342d13;
/* rgb */ color: rgb(52, 45, 19);
/* oklch */ color: oklch(29.8% 0.042 94.6);
Tailwind
colors: {
  custom: {
    50: '#6d6551',
    500: '#342d13',
    950: '#000000',
  },
}
SCSS
$custom: #342d13;
$custom-light: #6d6551;
$custom-dark: #000000;
JSON
{
  "hex": "#342d13",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 19
  },
  "hsl": {
    "h": 47.273,
    "s": 46.479,
    "l": 13.922
  },
  "oklch": {
    "l": 0.29796,
    "c": 0.04215,
    "h": 94.6
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#342D13
secondary
#37426C
accent
#6ED652
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070502
muted
#7A7A78

Preview Lab

Preview with #342D13

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

Preview Lab → · Contrast checker → · Palette generator →

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