#342C06#342C06

#342C06 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.4% C 0.055 H 96.9°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#342C06
RGBrgb(52, 44, 6)
HSLhsl(50, 79%, 11%)
HSVhsv(50, 88%, 20%)
CMYKcmyk(0%, 15.4%, 88.5%, 79.6%)
CIE-LABlab(18.12, -1.41, 23.52)
CIE-LCHlch(18.12, 23.56, 93.43°)
OKLaboklab(29.37% -0.0065 0.0542)
OKLCHoklch(29.37% 0.055 96.9)
XYZxyz(2.3498, 2.5447, 0.5397)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C06 #060E34
analogous
#341506 #342C06 #253406
triadic
#342C06 #06342C #2C0634
tetradic
#342C06 #063415 #060E34 #340625
square
#342C06 #063415 #060E34 #340625
split-complementary
#342C06 #062534 #150634
monochromatic
#1B1703 #1B1703 #342C06 #6B5A0C #A28913

Accessibility & contrast

On white

13.92
#342C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342C06
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C06#FFFFFF#000000##FFFFFF
##342C061.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B02
Deuteranopia (green-blind)
#342D08
Tritanopia (blue-blind)
#392825
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c06;
/* rgb */ color: rgb(52, 44, 6);
/* oklch */ color: oklch(29.4% 0.055 96.9);
Tailwind
colors: {
  custom: {
    50: '#6d644a',
    500: '#342c06',
    950: '#000000',
  },
}
SCSS
$custom: #342c06;
$custom-light: #6d644a;
$custom-dark: #000000;
JSON
{
  "hex": "#342c06",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 6
  },
  "hsl": {
    "h": 49.565,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29367,
    "c": 0.05461,
    "h": 96.9
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#342C06
secondary
#213074
accent
#54F632
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342C06

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

Preview Lab → · Contrast checker → · Palette generator →

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