#342C09#342C09

#342C09 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.052 H 96.0°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#342C09
RGBrgb(52, 44, 9)
HSLhsl(49, 70%, 12%)
HSVhsv(49, 83%, 20%)
CMYKcmyk(0%, 15.4%, 82.7%, 79.6%)
CIE-LABlab(18.15, -1.20, 22.33)
CIE-LCHlch(18.15, 22.37, 93.07°)
OKLaboklab(29.4% -0.0054 0.0515)
OKLCHoklch(29.4% 0.052 96)
XYZxyz(2.3663, 2.5513, 0.6262)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C09 #091134
analogous
#341709 #342C09 #273409
triadic
#342C09 #09342C #2C0934
tetradic
#342C09 #093417 #091134 #340927
square
#342C09 #093417 #091134 #340927
split-complementary
#342C09 #092734 #170934
monochromatic
#1A1605 #1A1605 #342C09 #685812 #9C841B

Accessibility & contrast

On white

13.91
#342C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342C09
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C09#FFFFFF#000000##FFFFFF
##342C091.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B05
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#392825
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c09;
/* rgb */ color: rgb(52, 44, 9);
/* oklch */ color: oklch(29.4% 0.052 96.0);
Tailwind
colors: {
  custom: {
    50: '#6d644b',
    500: '#342c09',
    950: '#000000',
  },
}
SCSS
$custom: #342c09;
$custom-light: #6d644b;
$custom-dark: #000000;
JSON
{
  "hex": "#342c09",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 9
  },
  "hsl": {
    "h": 48.837,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.294,
    "c": 0.05179,
    "h": 96
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#342C09
secondary
#273572
accent
#5CED3B
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342C09

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

Preview Lab → · Contrast checker → · Palette generator →

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