#342B0C#342B0C

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

Color values

HEX#342B0C
RGBrgb(52, 43, 12)
HSLhsl(47, 63%, 13%)
HSVhsv(47, 77%, 20%)
CMYKcmyk(0%, 17.3%, 76.9%, 79.6%)
CIE-LABlab(17.85, -0.31, 20.71)
CIE-LCHlch(17.85, 20.71, 90.85°)
OKLaboklab(29.17% -0.0024 0.048)
OKLCHoklch(29.17% 0.048 92.9)
XYZxyz(2.3465, 2.4845, 0.7037)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B0C #0C1534
analogous
#34170C #342B0C #29340C
triadic
#342B0C #0C342B #2B0C34
tetradic
#342B0C #0C3417 #0C1534 #340C29
square
#342B0C #0C3417 #0C1534 #340C29
split-complementary
#342B0C #0C2934 #170C34
monochromatic
#191506 #191506 #342B0C #665417 #977D23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##342B0C#FFFFFF#000000##FFFFFF
##342B0C1.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)
#302A08
Deuteranopia (green-blind)
#332D0D
Tritanopia (blue-blind)
#392724
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342b0c;
/* rgb */ color: rgb(52, 43, 12);
/* oklch */ color: oklch(29.2% 0.048 92.9);
Tailwind
colors: {
  custom: {
    50: '#6d644d',
    500: '#342b0c',
    950: '#000000',
  },
}
SCSS
$custom: #342b0c;
$custom-light: #6d644d;
$custom-dark: #000000;
JSON
{
  "hex": "#342b0c",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 12
  },
  "hsl": {
    "h": 46.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29172,
    "c": 0.04808,
    "h": 92.9
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#342B0C
secondary
#2C3B70
accent
#67E642
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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