#342D0A#342D0A

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

Color values

HEX#342D0A
RGBrgb(52, 45, 10)
HSLhsl(50, 68%, 12%)
HSVhsv(50, 81%, 20%)
CMYKcmyk(0%, 13.5%, 80.8%, 79.6%)
CIE-LABlab(18.49, -1.79, 22.33)
CIE-LCHlch(18.49, 22.41, 94.58°)
OKLaboklab(29.67% -0.007 0.0513)
OKLCHoklch(29.67% 0.052 97.8)
XYZxyz(2.4095, 2.6289, 0.6676)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D0A #0A1134
analogous
#34180A #342D0A #26340A
triadic
#342D0A #0A342D #2D0A34
tetradic
#342D0A #0A3418 #0A1134 #340A26
square
#342D0A #0A3418 #0A1134 #340A26
split-complementary
#342D0A #0A2634 #180A34
monochromatic
#1A1605 #1A1605 #342D0A #675914 #9B861E

Accessibility & contrast

On white

13.76
#342D0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342D0A
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D0A#FFFFFF#000000##FFFFFF
##342D0A1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #342d0a;
/* rgb */ color: rgb(52, 45, 10);
/* oklch */ color: oklch(29.7% 0.052 97.8);
Tailwind
colors: {
  custom: {
    50: '#6d654c',
    500: '#342d0a',
    950: '#000000',
  },
}
SCSS
$custom: #342d0a;
$custom-light: #6d654c;
$custom-dark: #000000;
JSON
{
  "hex": "#342d0a",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 10
  },
  "hsl": {
    "h": 50,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29674,
    "c": 0.05182,
    "h": 97.8
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#342D0A
secondary
#283571
accent
#5AEB3D
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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