#342B0A#342B0A

#342B0A is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.050 H 93.6°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#342B0A
RGBrgb(52, 43, 10)
HSLhsl(47, 68%, 12%)
HSVhsv(47, 81%, 20%)
CMYKcmyk(0%, 17.3%, 80.8%, 79.6%)
CIE-LABlab(17.83, -0.46, 21.54)
CIE-LCHlch(17.83, 21.55, 91.21°)
OKLaboklab(29.15% -0.0032 0.0499)
OKLCHoklch(29.15% 0.05 93.6)
XYZxyz(2.3350, 2.4799, 0.6428)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B0A #0A1334
analogous
#34160A #342B0A #28340A
triadic
#342B0A #0A342B #2B0A34
tetradic
#342B0A #0A3416 #0A1334 #340A28
square
#342B0A #0A3416 #0A1334 #340A28
split-complementary
#342B0A #0A2834 #160A34
monochromatic
#1A1505 #1A1505 #342B0A #675514 #9B801E

Accessibility & contrast

On white

14.04
#342B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342B0A
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B0A#FFFFFF#000000##FFFFFF
##342B0A1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A06
Deuteranopia (green-blind)
#332D0C
Tritanopia (blue-blind)
#392724
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342b0a;
/* rgb */ color: rgb(52, 43, 10);
/* oklch */ color: oklch(29.1% 0.050 93.6);
Tailwind
colors: {
  custom: {
    50: '#6d644c',
    500: '#342b0a',
    950: '#000000',
  },
}
SCSS
$custom: #342b0a;
$custom-light: #6d644c;
$custom-dark: #000000;
JSON
{
  "hex": "#342b0a",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 10
  },
  "hsl": {
    "h": 47.143,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29149,
    "c": 0.04999,
    "h": 93.6
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#342B0A
secondary
#283871
accent
#62EB3D
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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