#342C0C#342C0C

#342C0C is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.049 H 95.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#342C0C
RGBrgb(52, 44, 12)
HSLhsl(48, 63%, 13%)
HSVhsv(48, 77%, 20%)
CMYKcmyk(0%, 15.4%, 76.9%, 79.6%)
CIE-LABlab(18.18, -0.98, 21.10)
CIE-LCHlch(18.18, 21.13, 92.65°)
OKLaboklab(29.43% -0.0044 0.0488)
OKLCHoklch(29.43% 0.049 95.1)
XYZxyz(2.3833, 2.5581, 0.7160)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C0C #0C1434
analogous
#34180C #342C0C #28340C
triadic
#342C0C #0C342C #2C0C34
tetradic
#342C0C #0C3418 #0C1434 #340C28
square
#342C0C #0C3418 #0C1434 #340C28
split-complementary
#342C0C #0C2834 #180C34
monochromatic
#191506 #191506 #342C0C #665617 #978023

Accessibility & contrast

On white

13.89
#342C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#342C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342C0C
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C0C#FFFFFF#000000##FFFFFF
##342C0C1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B08
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#392825
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c0c;
/* rgb */ color: rgb(52, 44, 12);
/* oklch */ color: oklch(29.4% 0.049 95.1);
Tailwind
colors: {
  custom: {
    50: '#6d644d',
    500: '#342c0c',
    950: '#000000',
  },
}
SCSS
$custom: #342c0c;
$custom-light: #6d644d;
$custom-dark: #000000;
JSON
{
  "hex": "#342c0c",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 12
  },
  "hsl": {
    "h": 48,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29434,
    "c": 0.04898,
    "h": 95.1
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#342C0C
secondary
#2C3970
accent
#63E642
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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