#342A0A#342A0A

#342A0A is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.9% C 0.049 H 91.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#342A0A
RGBrgb(52, 42, 10)
HSLhsl(46, 68%, 12%)
HSVhsv(46, 81%, 20%)
CMYKcmyk(0%, 19.2%, 80.8%, 79.6%)
CIE-LABlab(17.50, 0.22, 21.15)
CIE-LCHlch(17.50, 21.15, 89.42°)
OKLaboklab(28.89% -0.0012 0.0492)
OKLCHoklch(28.89% 0.049 91.5)
XYZxyz(2.2990, 2.4080, 0.6308)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342A0A #0A1434
analogous
#34150A #342A0A #29340A
triadic
#342A0A #0A342A #2A0A34
tetradic
#342A0A #0A3415 #0A1434 #340A29
square
#342A0A #0A3415 #0A1434 #340A29
split-complementary
#342A0A #0A2934 #150A34
monochromatic
#1A1505 #1A1505 #342A0A #675314 #9B7D1E

Accessibility & contrast

On white

14.17
#342A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#342A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342A0A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342A0A#FFFFFF#000000##FFFFFF
##342A0A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2906
Deuteranopia (green-blind)
#322C0C
Tritanopia (blue-blind)
#392623
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #342a0a;
/* rgb */ color: rgb(52, 42, 10);
/* oklch */ color: oklch(28.9% 0.049 91.5);
Tailwind
colors: {
  custom: {
    50: '#6d634b',
    500: '#342a0a',
    950: '#000000',
  },
}
SCSS
$custom: #342a0a;
$custom-light: #6d634b;
$custom-dark: #000000;
JSON
{
  "hex": "#342a0a",
  "rgb": {
    "r": 52,
    "g": 42,
    "b": 10
  },
  "hsl": {
    "h": 45.714,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28888,
    "c": 0.04918,
    "h": 91.5
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#342A0A
secondary
#283A71
accent
#66EB3D
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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