#342D11#342D11

#342D11 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.8% C 0.045 H 95.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#342D11
RGBrgb(52, 45, 17)
HSLhsl(48, 51%, 14%)
HSVhsv(48, 67%, 20%)
CMYKcmyk(0%, 13.5%, 67.3%, 79.6%)
CIE-LABlab(18.57, -1.20, 18.98)
CIE-LCHlch(18.57, 19.02, 93.63°)
OKLaboklab(29.76% -0.0043 0.0443)
OKLCHoklch(29.76% 0.045 95.5)
XYZxyz(2.4558, 2.6474, 0.9118)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D11 #111834
analogous
#341B11 #342D11 #293411
triadic
#342D11 #11342D #2D1134
tetradic
#342D11 #11341B #111834 #341129
square
#342D11 #11341B #111834 #341129
split-complementary
#342D11 #112934 #1B1134
monochromatic
#171408 #171408 #342D11 #625520 #907D2F

Accessibility & contrast

On white

13.73
#342D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#342D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342D11
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D11#FFFFFF#000000##FFFFFF
##342D111.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0E
Deuteranopia (green-blind)
#342E12
Tritanopia (blue-blind)
#382927
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #342d11;
/* rgb */ color: rgb(52, 45, 17);
/* oklch */ color: oklch(29.8% 0.045 95.5);
Tailwind
colors: {
  custom: {
    50: '#6d6550',
    500: '#342d11',
    950: '#000000',
  },
}
SCSS
$custom: #342d11;
$custom-light: #6d6550;
$custom-dark: #000000;
JSON
{
  "hex": "#342d11",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 17
  },
  "hsl": {
    "h": 48,
    "s": 50.725,
    "l": 13.529
  },
  "oklch": {
    "l": 0.29764,
    "c": 0.04455,
    "h": 95.5
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#342D11
secondary
#343F6D
accent
#6ADA4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070502
muted
#7A7A78

Preview Lab

Preview with #342D11

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

Preview Lab → · Contrast checker → · Palette generator →

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