#342C12#342C12

#342C12 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.042 H 92.6°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#342C12
RGBrgb(52, 44, 18)
HSLhsl(46, 49%, 14%)
HSVhsv(46, 65%, 20%)
CMYKcmyk(0%, 15.4%, 65.4%, 79.6%)
CIE-LABlab(18.26, -0.43, 18.01)
CIE-LCHlch(18.26, 18.01, 91.38°)
OKLaboklab(29.52% -0.0019 0.0424)
OKLCHoklch(29.52% 0.042 92.6)
XYZxyz(2.4261, 2.5752, 0.9414)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C12 #121A34
analogous
#341B12 #342C12 #2B3412
triadic
#342C12 #12342C #2C1234
tetradic
#342C12 #12341B #121A34 #34122B
square
#342C12 #12341B #121A34 #34122B
split-complementary
#342C12 #122B34 #1B1234
monochromatic
#171308 #171308 #342C12 #615222 #8F7931

Accessibility & contrast

On white

13.86
#342C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342C12
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C12#FFFFFF#000000##FFFFFF
##342C121.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B10
Deuteranopia (green-blind)
#332E13
Tritanopia (blue-blind)
#382826
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #342c12;
/* rgb */ color: rgb(52, 44, 18);
/* oklch */ color: oklch(29.5% 0.042 92.6);
Tailwind
colors: {
  custom: {
    50: '#6d6450',
    500: '#342c12',
    950: '#000000',
  },
}
SCSS
$custom: #342c12;
$custom-light: #6d6450;
$custom-dark: #000000;
JSON
{
  "hex": "#342c12",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 45.882,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29518,
    "c": 0.04239,
    "h": 92.6
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#342C12
secondary
#35426C
accent
#70D850
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070502
muted
#7A7A78

Preview Lab

Preview with #342C12

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

Preview Lab → · Contrast checker → · Palette generator →

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