#342B06#342B06

#342B06 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.054 H 95.0°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#342B06
RGBrgb(52, 43, 6)
HSLhsl(48, 79%, 11%)
HSVhsv(48, 88%, 20%)
CMYKcmyk(0%, 17.3%, 88.5%, 79.6%)
CIE-LABlab(17.79, -0.74, 23.12)
CIE-LCHlch(17.79, 23.14, 91.84°)
OKLaboklab(29.1% -0.0046 0.0536)
OKLCHoklch(29.1% 0.054 95)
XYZxyz(2.3130, 2.4711, 0.5274)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B06 #060F34
analogous
#341406 #342B06 #263406
triadic
#342B06 #06342B #2B0634
tetradic
#342B06 #063414 #060F34 #340626
square
#342B06 #063414 #060F34 #340626
split-complementary
#342B06 #062634 #140634
monochromatic
#1B1703 #1B1703 #342B06 #6B580C #A28613

Accessibility & contrast

On white

14.05
#342B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#342B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342B06
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B06#FFFFFF#000000##FFFFFF
##342B061.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A02
Deuteranopia (green-blind)
#332D08
Tritanopia (blue-blind)
#392724
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342b06;
/* rgb */ color: rgb(52, 43, 6);
/* oklch */ color: oklch(29.1% 0.054 95.0);
Tailwind
colors: {
  custom: {
    50: '#6d644a',
    500: '#342b06',
    950: '#000000',
  },
}
SCSS
$custom: #342b06;
$custom-light: #6d644a;
$custom-dark: #000000;
JSON
{
  "hex": "#342b06",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 48.261,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29104,
    "c": 0.05375,
    "h": 95
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#342B06
secondary
#213274
accent
#58F632
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342B06

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

Preview Lab → · Contrast checker → · Palette generator →

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