#342F0E#342F0E

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

Color values

HEX#342F0E
RGBrgb(52, 47, 14)
HSLhsl(52, 58%, 13%)
HSVhsv(52, 73%, 20%)
CMYKcmyk(0%, 9.6%, 73.1%, 79.6%)
CIE-LABlab(19.20, -2.80, 21.34)
CIE-LCHlch(19.20, 21.53, 97.47°)
OKLaboklab(30.25% -0.0093 0.0491)
OKLCHoklch(30.25% 0.05 100.7)
XYZxyz(2.5121, 2.7949, 0.8225)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F0E #0E1334
analogous
#341C0E #342F0E #26340E
triadic
#342F0E #0E342F #2F0E34
tetradic
#342F0E #0E341C #0E1334 #340E26
square
#342F0E #0E341C #0E1334 #340E26
split-complementary
#342F0E #0E2634 #1C0E34
monochromatic
#181606 #181606 #342F0E #645B1B #948628

Accessibility & contrast

On white

13.47
#342F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342F0E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F0E#FFFFFF#000000##FFFFFF
##342F0E1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #342f0e;
/* rgb */ color: rgb(52, 47, 14);
/* oklch */ color: oklch(30.3% 0.050 100.7);
Tailwind
colors: {
  custom: {
    50: '#6d674e',
    500: '#342f0e',
    950: '#000000',
  },
}
SCSS
$custom: #342f0e;
$custom-light: #6d674e;
$custom-dark: #000000;
JSON
{
  "hex": "#342f0e",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 52.105,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30252,
    "c": 0.05,
    "h": 100.7
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#342F0E
secondary
#2F376F
accent
#5BE147
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #342F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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