#342C14#342C14

#342C14 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.040 H 91.4°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#342C14
RGBrgb(52, 44, 20)
HSLhsl(45, 44%, 14%)
HSVhsv(45, 62%, 20%)
CMYKcmyk(0%, 15.4%, 61.5%, 79.6%)
CIE-LABlab(18.29, -0.22, 16.80)
CIE-LCHlch(18.29, 16.80, 90.75°)
OKLaboklab(29.55% -0.001 0.0399)
OKLCHoklch(29.55% 0.04 91.4)
XYZxyz(2.4432, 2.5820, 1.0314)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C14 #141C34
analogous
#341C14 #342C14 #2C3414
triadic
#342C14 #14342C #2C1434
tetradic
#342C14 #14341C #141C34 #34142C
square
#342C14 #14341C #141C34 #34142C
split-complementary
#342C14 #142C34 #1C1434
monochromatic
#161309 #161309 #342C14 #605125 #8C7736

Accessibility & contrast

On white

13.85
#342C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#342C14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342C14
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C14#FFFFFF#000000##FFFFFF
##342C141.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B12
Deuteranopia (green-blind)
#332E15
Tritanopia (blue-blind)
#382926
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #342c14;
/* rgb */ color: rgb(52, 44, 20);
/* oklch */ color: oklch(29.6% 0.040 91.4);
Tailwind
colors: {
  custom: {
    50: '#6c6452',
    500: '#342c14',
    950: '#000000',
  },
}
SCSS
$custom: #342c14;
$custom-light: #6c6452;
$custom-dark: #000000;
JSON
{
  "hex": "#342c14",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 20
  },
  "hsl": {
    "h": 45,
    "s": 44.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.29552,
    "c": 0.03993,
    "h": 91.4
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#342C14
secondary
#38456B
accent
#74D454
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070502
muted
#7A7A78

Preview Lab

Preview with #342C14

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

Preview Lab → · Contrast checker → · Palette generator →

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