#342C0E#342C0E

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

Color values

HEX#342C0E
RGBrgb(52, 44, 14)
HSLhsl(47, 58%, 13%)
HSVhsv(47, 73%, 20%)
CMYKcmyk(0%, 15.4%, 73.1%, 79.6%)
CIE-LABlab(18.20, -0.81, 20.17)
CIE-LCHlch(18.20, 20.19, 92.31°)
OKLaboklab(29.46% -0.0036 0.0468)
OKLCHoklch(29.46% 0.047 94.4)
XYZxyz(2.3962, 2.5633, 0.7839)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C0E #0E1634
analogous
#34190E #342C0E #29340E
triadic
#342C0E #0E342C #2C0E34
tetradic
#342C0E #0E3419 #0E1634 #340E29
square
#342C0E #0E3419 #0E1634 #340E29
split-complementary
#342C0E #0E2934 #190E34
monochromatic
#181406 #181406 #342C0E #64551B #947E28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##342C0E#FFFFFF#000000##FFFFFF
##342C0E1.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)
#312B0B
Deuteranopia (green-blind)
#332D0F
Tritanopia (blue-blind)
#392825
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c0e;
/* rgb */ color: rgb(52, 44, 14);
/* oklch */ color: oklch(29.5% 0.047 94.4);
Tailwind
colors: {
  custom: {
    50: '#6d644e',
    500: '#342c0e',
    950: '#000000',
  },
}
SCSS
$custom: #342c0e;
$custom-light: #6d644e;
$custom-dark: #000000;
JSON
{
  "hex": "#342c0e",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 14
  },
  "hsl": {
    "h": 47.368,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.04692,
    "h": 94.4
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#342C0E
secondary
#2F3C6F
accent
#67E147
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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