#342C05#342C05

#342C05 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.4% C 0.056 H 97.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#342C05
RGBrgb(52, 44, 5)
HSLhsl(50, 82%, 11%)
HSVhsv(50, 90%, 20%)
CMYKcmyk(0%, 15.4%, 90.4%, 79.6%)
CIE-LABlab(18.11, -1.48, 23.92)
CIE-LCHlch(18.11, 23.96, 93.54°)
OKLaboklab(29.36% -0.0069 0.0552)
OKLCHoklch(29.36% 0.056 97.1)
XYZxyz(2.3444, 2.5425, 0.5108)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C05 #050D34
analogous
#341405 #342C05 #243405
triadic
#342C05 #05342C #2C0534
tetradic
#342C05 #053414 #050D34 #340524
square
#342C05 #053414 #050D34 #340524
split-complementary
#342C05 #052434 #140534
monochromatic
#1C1803 #1C1803 #342C05 #6C5B0A #A48A10

Accessibility & contrast

On white

13.92
#342C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#342C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342C05
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C05#FFFFFF#000000##FFFFFF
##342C051.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B01
Deuteranopia (green-blind)
#342D07
Tritanopia (blue-blind)
#392824
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c05;
/* rgb */ color: rgb(52, 44, 5);
/* oklch */ color: oklch(29.4% 0.056 97.1);
Tailwind
colors: {
  custom: {
    50: '#6d6449',
    500: '#342c05',
    950: '#000000',
  },
}
SCSS
$custom: #342c05;
$custom-light: #6d6449;
$custom-dark: #000000;
JSON
{
  "hex": "#342c05",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 49.787,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29356,
    "c": 0.05558,
    "h": 97.1
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#342C05
secondary
#1F2E75
accent
#51F92F
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342C05

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

Preview Lab → · Contrast checker → · Palette generator →

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