#342D0E#342D0E

#342D0E is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.7% C 0.048 H 96.6°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#342D0E
RGBrgb(52, 45, 14)
HSLhsl(49, 58%, 13%)
HSVhsv(49, 73%, 20%)
CMYKcmyk(0%, 13.5%, 73.1%, 79.6%)
CIE-LABlab(18.53, -1.48, 20.56)
CIE-LCHlch(18.53, 20.62, 94.12°)
OKLaboklab(29.72% -0.0055 0.0476)
OKLCHoklch(29.72% 0.048 96.6)
XYZxyz(2.4339, 2.6387, 0.7965)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D0E #0E1534
analogous
#341A0E #342D0E #28340E
triadic
#342D0E #0E342D #2D0E34
tetradic
#342D0E #0E341A #0E1534 #340E28
square
#342D0E #0E341A #0E1534 #340E28
split-complementary
#342D0E #0E2834 #1A0E34
monochromatic
#181506 #181506 #342D0E #64571B #948028

Accessibility & contrast

On white

13.75
#342D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342D0E
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D0E#FFFFFF#000000##FFFFFF
##342D0E1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0B
Deuteranopia (green-blind)
#342E0F
Tritanopia (blue-blind)
#392926
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #342d0e;
/* rgb */ color: rgb(52, 45, 14);
/* oklch */ color: oklch(29.7% 0.048 96.6);
Tailwind
colors: {
  custom: {
    50: '#6d654e',
    500: '#342d0e',
    950: '#000000',
  },
}
SCSS
$custom: #342d0e;
$custom-light: #6d654e;
$custom-dark: #000000;
JSON
{
  "hex": "#342d0e",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 14
  },
  "hsl": {
    "h": 48.947,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29722,
    "c": 0.04789,
    "h": 96.6
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#342D0E
secondary
#2F3B6F
accent
#63E147
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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