#342F0A#342F0A

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

Color values

HEX#342F0A
RGBrgb(52, 47, 10)
HSLhsl(53, 68%, 12%)
HSVhsv(53, 81%, 20%)
CMYKcmyk(0%, 9.6%, 80.8%, 79.6%)
CIE-LABlab(19.16, -3.11, 23.12)
CIE-LCHlch(19.16, 23.32, 97.66°)
OKLaboklab(30.21% -0.0107 0.0528)
OKLCHoklch(30.21% 0.054 101.5)
XYZxyz(2.4876, 2.7851, 0.6937)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F0A #0A0F34
analogous
#341A0A #342F0A #24340A
triadic
#342F0A #0A342F #2F0A34
tetradic
#342F0A #0A341A #0A0F34 #340A24
square
#342F0A #0A341A #0A0F34 #340A24
split-complementary
#342F0A #0A2434 #1A0A34
monochromatic
#1A1705 #1A1705 #342F0A #675D14 #9B8C1E

Accessibility & contrast

On white

13.49
#342F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342F0A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F0A#FFFFFF#000000##FFFFFF
##342F0A1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D06
Deuteranopia (green-blind)
#362F0C
Tritanopia (blue-blind)
#392B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #342f0a;
/* rgb */ color: rgb(52, 47, 10);
/* oklch */ color: oklch(30.2% 0.054 101.5);
Tailwind
colors: {
  custom: {
    50: '#6d674c',
    500: '#342f0a',
    950: '#000000',
  },
}
SCSS
$custom: #342f0a;
$custom-light: #6d674c;
$custom-dark: #000000;
JSON
{
  "hex": "#342f0a",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 52.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30206,
    "c": 0.05387,
    "h": 101.5
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#342F0A
secondary
#283171
accent
#52EB3D
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #342F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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