#342E1A#342E1A

#342E1A is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.034 H 93.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#342E1A
RGBrgb(52, 46, 26)
HSLhsl(46, 33%, 15%)
HSVhsv(46, 50%, 20%)
CMYKcmyk(0%, 11.5%, 50%, 79.6%)
CIE-LABlab(19.05, -0.82, 13.87)
CIE-LCHlch(19.05, 13.90, 93.37°)
OKLaboklab(30.19% -0.002 0.0339)
OKLCHoklch(30.19% 0.034 93.3)
XYZxyz(2.5797, 2.7587, 1.3737)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342E1A #1A2034
analogous
#34211A #342E1A #2D341A
triadic
#342E1A #1A342E #2E1A34
tetradic
#342E1A #1A3421 #1A2034 #341A2D
square
#342E1A #1A3421 #1A2034 #341A2D
split-complementary
#342E1A #1A2D34 #211A34
monochromatic
#14120A #14120A #342E1A #5D522E #867643

Accessibility & contrast

On white

13.53
#342E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#342E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342E1A
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342E1A#FFFFFF#000000##FFFFFF
##342E1A1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D18
Deuteranopia (green-blind)
#342F1B
Tritanopia (blue-blind)
#382B29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #342e1a;
/* rgb */ color: rgb(52, 46, 26);
/* oklch */ color: oklch(30.2% 0.034 93.3);
Tailwind
colors: {
  custom: {
    50: '#6c6656',
    500: '#342e1a',
    950: '#000000',
  },
}
SCSS
$custom: #342e1a;
$custom-light: #6c6656;
$custom-dark: #000000;
JSON
{
  "hex": "#342e1a",
  "rgb": {
    "r": 52,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 46.154,
    "s": 33.333,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30189,
    "c": 0.03394,
    "h": 93.3
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#342E1A
secondary
#414A69
accent
#77C95E
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#070603
muted
#7A7A78

Preview Lab

Preview with #342E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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