#342A0B#342A0B

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

Color values

HEX#342A0B
RGBrgb(52, 42, 11)
HSLhsl(45, 65%, 12%)
HSVhsv(45, 79%, 20%)
CMYKcmyk(0%, 19.2%, 78.8%, 79.6%)
CIE-LABlab(17.51, 0.29, 20.74)
CIE-LCHlch(17.51, 20.74, 89.20°)
OKLaboklab(28.9% -0.0009 0.0482)
OKLCHoklch(28.9% 0.048 91.1)
XYZxyz(2.3047, 2.4103, 0.6604)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342A0B #0B1534
analogous
#34160B #342A0B #2A340B
triadic
#342A0B #0B342A #2A0B34
tetradic
#342A0B #0B3416 #0B1534 #340B2A
square
#342A0B #0B3416 #0B1534 #340B2A
split-complementary
#342A0B #0B2A34 #160B34
monochromatic
#191405 #191405 #342A0B #675316 #997C20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##342A0B#FFFFFF#000000##FFFFFF
##342A0B1.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)
#2F2907
Deuteranopia (green-blind)
#322C0C
Tritanopia (blue-blind)
#392623
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #342a0b;
/* rgb */ color: rgb(52, 42, 11);
/* oklch */ color: oklch(28.9% 0.048 91.1);
Tailwind
colors: {
  custom: {
    50: '#6d634c',
    500: '#342a0b',
    950: '#000000',
  },
}
SCSS
$custom: #342a0b;
$custom-light: #6d634c;
$custom-dark: #000000;
JSON
{
  "hex": "#342a0b",
  "rgb": {
    "r": 52,
    "g": 42,
    "b": 11
  },
  "hsl": {
    "h": 45.366,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.289,
    "c": 0.04825,
    "h": 91.1
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#342A0B
secondary
#2A3B71
accent
#69E840
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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