#342C0F#342C0F

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

Color values

HEX#342C0F
RGBrgb(52, 44, 15)
HSLhsl(47, 55%, 13%)
HSVhsv(47, 71%, 20%)
CMYKcmyk(0%, 15.4%, 71.2%, 79.6%)
CIE-LABlab(18.21, -0.72, 19.67)
CIE-LCHlch(18.21, 19.68, 92.11°)
OKLaboklab(29.47% -0.0032 0.0457)
OKLCHoklch(29.47% 0.046 94)
XYZxyz(2.4032, 2.5660, 0.8206)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C0F #0F1734
analogous
#34190F #342C0F #29340F
triadic
#342C0F #0F342C #2C0F34
tetradic
#342C0F #0F3419 #0F1734 #340F29
square
#342C0F #0F3419 #0F1734 #340F29
split-complementary
#342C0F #0F2934 #190F34
monochromatic
#181407 #181407 #342C0F #63541D #937C2A

Accessibility & contrast

On white

13.88
#342C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342C0F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C0F#FFFFFF#000000##FFFFFF
##342C0F1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0C
Deuteranopia (green-blind)
#332E10
Tritanopia (blue-blind)
#392826
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c0f;
/* rgb */ color: rgb(52, 44, 15);
/* oklch */ color: oklch(29.5% 0.046 94.0);
Tailwind
colors: {
  custom: {
    50: '#6d644e',
    500: '#342c0f',
    950: '#000000',
  },
}
SCSS
$custom: #342c0f;
$custom-light: #6d644e;
$custom-dark: #000000;
JSON
{
  "hex": "#342c0f",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 15
  },
  "hsl": {
    "h": 47.027,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29473,
    "c": 0.04584,
    "h": 94
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#342C0F
secondary
#313E6E
accent
#6ADF49
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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