#342D06#342D06

#342D06 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.056 H 98.7°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#342D06
RGBrgb(52, 45, 6)
HSLhsl(51, 79%, 11%)
HSVhsv(51, 88%, 20%)
CMYKcmyk(0%, 13.5%, 88.5%, 79.6%)
CIE-LABlab(18.45, -2.07, 23.92)
CIE-LCHlch(18.45, 24.01, 94.95°)
OKLaboklab(29.63% -0.0084 0.0549)
OKLCHoklch(29.63% 0.056 98.7)
XYZxyz(2.3876, 2.6201, 0.5522)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D06 #060D34
analogous
#341606 #342D06 #243406
triadic
#342D06 #06342D #2D0634
tetradic
#342D06 #063416 #060D34 #340624
square
#342D06 #063416 #060D34 #340624
split-complementary
#342D06 #062434 #160634
monochromatic
#1B1803 #1B1803 #342D06 #6B5C0C #A28C13

Accessibility & contrast

On white

13.78
#342D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#342D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342D06
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D06#FFFFFF#000000##FFFFFF
##342D061.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C02
Deuteranopia (green-blind)
#342E08
Tritanopia (blue-blind)
#392925
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #342d06;
/* rgb */ color: rgb(52, 45, 6);
/* oklch */ color: oklch(29.6% 0.056 98.7);
Tailwind
colors: {
  custom: {
    50: '#6d654a',
    500: '#342d06',
    950: '#000000',
  },
}
SCSS
$custom: #342d06;
$custom-light: #6d654a;
$custom-dark: #000000;
JSON
{
  "hex": "#342d06",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 6
  },
  "hsl": {
    "h": 50.87,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29632,
    "c": 0.05552,
    "h": 98.7
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#342D06
secondary
#212E74
accent
#50F632
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342D06

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

Preview Lab → · Contrast checker → · Palette generator →

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