#342F0F#342F0F

#342F0F is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.049 H 100.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#342F0F
RGBrgb(52, 47, 15)
HSLhsl(52, 55%, 13%)
HSVhsv(52, 71%, 20%)
CMYKcmyk(0%, 9.6%, 71.2%, 79.6%)
CIE-LABlab(19.21, -2.71, 20.84)
CIE-LCHlch(19.21, 21.02, 97.42°)
OKLaboklab(30.26% -0.0089 0.0481)
OKLCHoklch(30.26% 0.049 100.5)
XYZxyz(2.5190, 2.7977, 0.8592)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F0F #0F1434
analogous
#341C0F #342F0F #26340F
triadic
#342F0F #0F342F #2F0F34
tetradic
#342F0F #0F341C #0F1434 #340F26
square
#342F0F #0F341C #0F1434 #340F26
split-complementary
#342F0F #0F2634 #1C0F34
monochromatic
#181507 #181507 #342F0F #635A1D #93852A

Accessibility & contrast

On white

13.46
#342F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#342F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F0F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F0F#FFFFFF#000000##FFFFFF
##342F0F1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0C
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#382B28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342f0f;
/* rgb */ color: rgb(52, 47, 15);
/* oklch */ color: oklch(30.3% 0.049 100.5);
Tailwind
colors: {
  custom: {
    50: '#6d674f',
    500: '#342f0f',
    950: '#000000',
  },
}
SCSS
$custom: #342f0f;
$custom-light: #6d674f;
$custom-dark: #000000;
JSON
{
  "hex": "#342f0f",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 51.892,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30265,
    "c": 0.04894,
    "h": 100.5
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#342F0F
secondary
#31396E
accent
#5DDF49
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #342F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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