#342F0B#342F0B

#342F0B is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.053 H 101.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#342F0B
RGBrgb(52, 47, 11)
HSLhsl(53, 65%, 12%)
HSVhsv(53, 79%, 20%)
CMYKcmyk(0%, 9.6%, 78.8%, 79.6%)
CIE-LABlab(19.17, -3.04, 22.71)
CIE-LCHlch(19.17, 22.91, 97.62°)
OKLaboklab(30.22% -0.0104 0.0519)
OKLCHoklch(30.22% 0.053 101.3)
XYZxyz(2.4932, 2.7874, 0.7232)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F0B #0B1034
analogous
#341B0B #342F0B #25340B
triadic
#342F0B #0B342F #2F0B34
tetradic
#342F0B #0B341B #0B1034 #340B25
square
#342F0B #0B341B #0B1034 #340B25
split-complementary
#342F0B #0B2534 #1B0B34
monochromatic
#191705 #191705 #342F0B #675D16 #998A20

Accessibility & contrast

On white

13.48
#342F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342F0B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F0B#FFFFFF#000000##FFFFFF
##342F0B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D07
Deuteranopia (green-blind)
#362F0D
Tritanopia (blue-blind)
#392B28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342f0b;
/* rgb */ color: rgb(52, 47, 11);
/* oklch */ color: oklch(30.2% 0.053 101.3);
Tailwind
colors: {
  custom: {
    50: '#6d674c',
    500: '#342f0b',
    950: '#000000',
  },
}
SCSS
$custom: #342f0b;
$custom-light: #6d674c;
$custom-dark: #000000;
JSON
{
  "hex": "#342f0b",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 52.683,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30216,
    "c": 0.05296,
    "h": 101.3
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#342F0B
secondary
#2A3371
accent
#54E840
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #342F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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