#342B0F#342B0F

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

Color values

HEX#342B0F
RGBrgb(52, 43, 15)
HSLhsl(45, 55%, 13%)
HSVhsv(45, 71%, 20%)
CMYKcmyk(0%, 17.3%, 71.2%, 79.6%)
CIE-LABlab(17.88, -0.05, 19.27)
CIE-LCHlch(17.88, 19.27, 90.16°)
OKLaboklab(29.21% -0.0012 0.0449)
OKLCHoklch(29.21% 0.045 91.6)
XYZxyz(2.3664, 2.4924, 0.8083)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B0F #0F1834
analogous
#34180F #342B0F #2A340F
triadic
#342B0F #0F342B #2B0F34
tetradic
#342B0F #0F3418 #0F1834 #340F2A
square
#342B0F #0F3418 #0F1834 #340F2A
split-complementary
#342B0F #0F2A34 #180F34
monochromatic
#181407 #181407 #342B0F #63521D #937A2A

Accessibility & contrast

On white

14.01
#342B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342B0F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B0F#FFFFFF#000000##FFFFFF
##342B0F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #342b0f;
/* rgb */ color: rgb(52, 43, 15);
/* oklch */ color: oklch(29.2% 0.045 91.6);
Tailwind
colors: {
  custom: {
    50: '#6d644e',
    500: '#342b0f',
    950: '#000000',
  },
}
SCSS
$custom: #342b0f;
$custom-light: #6d644e;
$custom-dark: #000000;
JSON
{
  "hex": "#342b0f",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 15
  },
  "hsl": {
    "h": 45.405,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29212,
    "c": 0.04495,
    "h": 91.6
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#342B0F
secondary
#31406E
accent
#6EDF49
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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