#342B0E#342B0E

#342B0E is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.046 H 92.1°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#342B0E
RGBrgb(52, 43, 14)
HSLhsl(46, 58%, 13%)
HSVhsv(46, 73%, 20%)
CMYKcmyk(0%, 17.3%, 73.1%, 79.6%)
CIE-LABlab(17.87, -0.14, 19.77)
CIE-LCHlch(17.87, 19.78, 90.41°)
OKLaboklab(29.2% -0.0017 0.046)
OKLCHoklch(29.2% 0.046 92.1)
XYZxyz(2.3594, 2.4896, 0.7717)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B0E #0E1734
analogous
#34180E #342B0E #2A340E
triadic
#342B0E #0E342B #2B0E34
tetradic
#342B0E #0E3418 #0E1734 #340E2A
square
#342B0E #0E3418 #0E1734 #340E2A
split-complementary
#342B0E #0E2A34 #180E34
monochromatic
#181406 #181406 #342B0E #64531B #947B28

Accessibility & contrast

On white

14.02
#342B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#342B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342B0E
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B0E#FFFFFF#000000##FFFFFF
##342B0E1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0B
Deuteranopia (green-blind)
#322D0F
Tritanopia (blue-blind)
#392725
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342b0e;
/* rgb */ color: rgb(52, 43, 14);
/* oklch */ color: oklch(29.2% 0.046 92.1);
Tailwind
colors: {
  custom: {
    50: '#6d644e',
    500: '#342b0e',
    950: '#000000',
  },
}
SCSS
$custom: #342b0e;
$custom-light: #6d644e;
$custom-dark: #000000;
JSON
{
  "hex": "#342b0e",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 14
  },
  "hsl": {
    "h": 45.789,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29198,
    "c": 0.04603,
    "h": 92.1
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#342B0E
secondary
#2F3E6F
accent
#6BE147
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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