#342A05#342A05

#342A05 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.054 H 93.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#342A05
RGBrgb(52, 42, 5)
HSLhsl(47, 82%, 11%)
HSVhsv(47, 90%, 20%)
CMYKcmyk(0%, 19.2%, 90.4%, 79.6%)
CIE-LABlab(17.45, -0.14, 23.12)
CIE-LCHlch(17.45, 23.12, 90.35°)
OKLaboklab(28.83% -0.0031 0.0539)
OKLCHoklch(28.83% 0.054 93.3)
XYZxyz(2.2717, 2.3971, 0.4866)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342A05 #050F34
analogous
#341205 #342A05 #263405
triadic
#342A05 #05342A #2A0534
tetradic
#342A05 #053412 #050F34 #340526
square
#342A05 #053412 #050F34 #340526
split-complementary
#342A05 #052634 #120534
monochromatic
#1C1703 #1C1703 #342A05 #6C570A #A48410

Accessibility & contrast

On white

14.19
#342A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#342A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342A05
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342A05#FFFFFF#000000##FFFFFF
##342A051.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302901
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#392623
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #342a05;
/* rgb */ color: rgb(52, 42, 5);
/* oklch */ color: oklch(28.8% 0.054 93.3);
Tailwind
colors: {
  custom: {
    50: '#6d6349',
    500: '#342a05',
    950: '#000000',
  },
}
SCSS
$custom: #342a05;
$custom-light: #6d6349;
$custom-dark: #000000;
JSON
{
  "hex": "#342a05",
  "rgb": {
    "r": 52,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 47.234,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28832,
    "c": 0.05394,
    "h": 93.3
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#342A05
secondary
#1F3275
accent
#5AF92F
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342A05

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

Preview Lab → · Contrast checker → · Palette generator →

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