#342D0F#342D0F

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

Color values

HEX#342D0F
RGBrgb(52, 45, 15)
HSLhsl(49, 55%, 13%)
HSVhsv(49, 71%, 20%)
CMYKcmyk(0%, 13.5%, 71.2%, 79.6%)
CIE-LABlab(18.55, -1.39, 20.06)
CIE-LCHlch(18.55, 20.11, 93.96°)
OKLaboklab(29.74% -0.0051 0.0465)
OKLCHoklch(29.74% 0.047 96.3)
XYZxyz(2.4409, 2.6414, 0.8331)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D0F #0F1634
analogous
#341A0F #342D0F #28340F
triadic
#342D0F #0F342D #2D0F34
tetradic
#342D0F #0F341A #0F1634 #340F28
square
#342D0F #0F341A #0F1634 #340F28
split-complementary
#342D0F #0F2834 #1A0F34
monochromatic
#181507 #181507 #342D0F #63561D #937F2A

Accessibility & contrast

On white

13.74
#342D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#342D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342D0F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D0F#FFFFFF#000000##FFFFFF
##342D0F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#392926
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #342d0f;
/* rgb */ color: rgb(52, 45, 15);
/* oklch */ color: oklch(29.7% 0.047 96.3);
Tailwind
colors: {
  custom: {
    50: '#6d654e',
    500: '#342d0f',
    950: '#000000',
  },
}
SCSS
$custom: #342d0f;
$custom-light: #6d654e;
$custom-dark: #000000;
JSON
{
  "hex": "#342d0f",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 48.649,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29735,
    "c": 0.04681,
    "h": 96.3
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#342D0F
secondary
#313C6E
accent
#65DF49
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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