#343312#343312

#343312 is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.4% C 0.051 H 107.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#343312
RGBrgb(52, 51, 18)
HSLhsl(58, 49%, 14%)
HSVhsv(58, 65%, 20%)
CMYKcmyk(0%, 1.9%, 65.4%, 79.6%)
CIE-LABlab(20.60, -5.03, 20.73)
CIE-LCHlch(20.60, 21.33, 103.64°)
OKLaboklab(31.38% -0.0151 0.0482)
OKLCHoklch(31.38% 0.051 107.4)
XYZxyz(2.7093, 3.1415, 1.0358)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343312 #121334
analogous
#342212 #343312 #243412
triadic
#343312 #123433 #331234
tetradic
#343312 #123422 #121334 #341224
square
#343312 #123422 #121334 #341224
split-complementary
#343312 #122434 #221234
monochromatic
#171608 #171608 #343312 #616022 #8F8C31

Accessibility & contrast

On white

12.90
#343312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#343312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343312
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343312#FFFFFF#000000##FFFFFF
##3433121.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37310F
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#38302C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #343312;
/* rgb */ color: rgb(52, 51, 18);
/* oklch */ color: oklch(31.4% 0.051 107.4);
Tailwind
colors: {
  custom: {
    50: '#6d6a51',
    500: '#343312',
    950: '#000000',
  },
}
SCSS
$custom: #343312;
$custom-light: #6d6a51;
$custom-dark: #000000;
JSON
{
  "hex": "#343312",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 58.235,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31379,
    "c": 0.05053,
    "h": 107.4
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#343312
secondary
#35376C
accent
#54D850
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #343312

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

Preview Lab → · Contrast checker → · Palette generator →

#343312 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva