#342F11#342F11

#342F11 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.047 H 100.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#342F11
RGBrgb(52, 47, 17)
HSLhsl(51, 51%, 14%)
HSVhsv(51, 67%, 20%)
CMYKcmyk(0%, 9.6%, 67.3%, 79.6%)
CIE-LABlab(19.24, -2.53, 19.76)
CIE-LCHlch(19.24, 19.92, 97.29°)
OKLaboklab(30.29% -0.0081 0.046)
OKLCHoklch(30.29% 0.047 100)
XYZxyz(2.5340, 2.8037, 0.9379)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F11 #111634
analogous
#341D11 #342F11 #273411
triadic
#342F11 #11342F #2F1134
tetradic
#342F11 #11341D #111634 #341127
square
#342F11 #11341D #111634 #341127
split-complementary
#342F11 #112734 #1D1134
monochromatic
#171508 #171508 #342F11 #625920 #90822F

Accessibility & contrast

On white

13.45
#342F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#342F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F11
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F11#FFFFFF#000000##FFFFFF
##342F111.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0E
Deuteranopia (green-blind)
#353012
Tritanopia (blue-blind)
#382B28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342f11;
/* rgb */ color: rgb(52, 47, 17);
/* oklch */ color: oklch(30.3% 0.047 100.0);
Tailwind
colors: {
  custom: {
    50: '#6d6750',
    500: '#342f11',
    950: '#000000',
  },
}
SCSS
$custom: #342f11;
$custom-light: #6d6750;
$custom-dark: #000000;
JSON
{
  "hex": "#342f11",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 17
  },
  "hsl": {
    "h": 51.429,
    "s": 50.725,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30293,
    "c": 0.04669,
    "h": 100
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#342F11
secondary
#343C6D
accent
#62DA4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #342F11

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

Preview Lab → · Contrast checker → · Palette generator →

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