#342B0B#342B0B

#342B0B is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.049 H 93.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#342B0B
RGBrgb(52, 43, 11)
HSLhsl(47, 65%, 12%)
HSVhsv(47, 79%, 20%)
CMYKcmyk(0%, 17.3%, 78.8%, 79.6%)
CIE-LABlab(17.84, -0.38, 21.14)
CIE-LCHlch(17.84, 21.14, 91.04°)
OKLaboklab(29.16% -0.0028 0.049)
OKLCHoklch(29.16% 0.049 93.3)
XYZxyz(2.3406, 2.4821, 0.6724)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B0B #0B1434
analogous
#34160B #342B0B #29340B
triadic
#342B0B #0B342B #2B0B34
tetradic
#342B0B #0B3416 #0B1434 #340B29
square
#342B0B #0B3416 #0B1434 #340B29
split-complementary
#342B0B #0B2934 #160B34
monochromatic
#191505 #191505 #342B0B #675516 #997F20

Accessibility & contrast

On white

14.03
#342B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342B0B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B0B#FFFFFF#000000##FFFFFF
##342B0B1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #342b0b;
/* rgb */ color: rgb(52, 43, 11);
/* oklch */ color: oklch(29.2% 0.049 93.3);
Tailwind
colors: {
  custom: {
    50: '#6d644c',
    500: '#342b0b',
    950: '#000000',
  },
}
SCSS
$custom: #342b0b;
$custom-light: #6d644c;
$custom-dark: #000000;
JSON
{
  "hex": "#342b0b",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 46.829,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2916,
    "c": 0.04906,
    "h": 93.3
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#342B0B
secondary
#2A3A71
accent
#65E840
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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