#34331A#34331A

#34331A is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.5% C 0.040 H 106.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#34331A
RGBrgb(52, 51, 26)
HSLhsl(58, 33%, 15%)
HSVhsv(58, 50%, 20%)
CMYKcmyk(0%, 1.9%, 50%, 79.6%)
CIE-LABlab(20.72, -4.11, 15.99)
CIE-LCHlch(20.72, 16.51, 104.41°)
OKLaboklab(31.51% -0.0114 0.0387)
OKLCHoklch(31.51% 0.04 106.5)
XYZxyz(2.7865, 3.1724, 1.4426)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34331A #1A1B34
analogous
#34261A #34331A #28341A
triadic
#34331A #1A3433 #331A34
tetradic
#34331A #1A3426 #1A1B34 #341A28
square
#34331A #1A3426 #1A1B34 #341A28
split-complementary
#34331A #1A2834 #261A34
monochromatic
#14140A #14140A #34331A #5D5B2E #868343

Accessibility & contrast

On white

12.85
#34331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#34331A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34331A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34331A#FFFFFF#000000##FFFFFF
##34331A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373118
Deuteranopia (green-blind)
#37321B
Tritanopia (blue-blind)
#37302D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #34331a;
/* rgb */ color: rgb(52, 51, 26);
/* oklch */ color: oklch(31.5% 0.040 106.5);
Tailwind
colors: {
  custom: {
    50: '#6c6a57',
    500: '#34331a',
    950: '#000000',
  },
}
SCSS
$custom: #34331a;
$custom-light: #6c6a57;
$custom-dark: #000000;
JSON
{
  "hex": "#34331a",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 57.692,
    "s": 33.333,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31513,
    "c": 0.04033,
    "h": 106.5
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#34331A
secondary
#414369
accent
#62C95E
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#070603
muted
#7A7A78

Preview Lab

Preview with #34331A

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

Preview Lab → · Contrast checker → · Palette generator →

#34331A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva