#342B0D#342B0D

#342B0D is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.047 H 92.5°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#342B0D
RGBrgb(52, 43, 13)
HSLhsl(46, 60%, 13%)
HSVhsv(46, 75%, 20%)
CMYKcmyk(0%, 17.3%, 75%, 79.6%)
CIE-LABlab(17.86, -0.23, 20.25)
CIE-LCHlch(17.86, 20.26, 90.64°)
OKLaboklab(29.19% -0.0021 0.047)
OKLCHoklch(29.19% 0.047 92.5)
XYZxyz(2.3528, 2.4870, 0.7368)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B0D #0D1634
analogous
#34170D #342B0D #29340D
triadic
#342B0D #0D342B #2B0D34
tetradic
#342B0D #0D3417 #0D1634 #340D29
square
#342B0D #0D3417 #0D1634 #340D29
split-complementary
#342B0D #0D2934 #170D34
monochromatic
#181406 #181406 #342B0D #655319 #967C25

Accessibility & contrast

On white

14.02
#342B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#342B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342B0D
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B0D#FFFFFF#000000##FFFFFF
##342B0D1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0A
Deuteranopia (green-blind)
#322D0E
Tritanopia (blue-blind)
#392725
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342b0d;
/* rgb */ color: rgb(52, 43, 13);
/* oklch */ color: oklch(29.2% 0.047 92.5);
Tailwind
colors: {
  custom: {
    50: '#6d644d',
    500: '#342b0d',
    950: '#000000',
  },
}
SCSS
$custom: #342b0d;
$custom-light: #6d644d;
$custom-dark: #000000;
JSON
{
  "hex": "#342b0d",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 13
  },
  "hsl": {
    "h": 46.154,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29185,
    "c": 0.04708,
    "h": 92.5
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#342B0D
secondary
#2D3D6F
accent
#69E345
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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