#342B05#342B05

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

Color values

HEX#342B05
RGBrgb(52, 43, 5)
HSLhsl(49, 82%, 11%)
HSVhsv(49, 90%, 20%)
CMYKcmyk(0%, 17.3%, 90.4%, 79.6%)
CIE-LABlab(17.78, -0.81, 23.52)
CIE-LCHlch(17.78, 23.53, 91.98°)
OKLaboklab(29.09% -0.005 0.0545)
OKLCHoklch(29.09% 0.055 95.3)
XYZxyz(2.3076, 2.4689, 0.4986)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B05 #050E34
analogous
#341305 #342B05 #253405
triadic
#342B05 #05342B #2B0534
tetradic
#342B05 #053413 #050E34 #340525
square
#342B05 #053413 #050E34 #340525
split-complementary
#342B05 #052534 #130534
monochromatic
#1C1703 #1C1703 #342B05 #6C590A #A48710

Accessibility & contrast

On white

14.06
#342B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342B05
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B05#FFFFFF#000000##FFFFFF
##342B051.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #342b05;
/* rgb */ color: rgb(52, 43, 5);
/* oklch */ color: oklch(29.1% 0.055 95.3);
Tailwind
colors: {
  custom: {
    50: '#6d6449',
    500: '#342b05',
    950: '#000000',
  },
}
SCSS
$custom: #342b05;
$custom-light: #6d6449;
$custom-dark: #000000;
JSON
{
  "hex": "#342b05",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 48.511,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29093,
    "c": 0.05473,
    "h": 95.3
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#342B05
secondary
#1F3075
accent
#56F92F
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342B05

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

Preview Lab → · Contrast checker → · Palette generator →

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