#34331E#34331E

#34331E is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.6% C 0.035 H 105.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#34331E
RGBrgb(52, 51, 30)
HSLhsl(57, 27%, 16%)
HSVhsv(57, 42%, 20%)
CMYKcmyk(0%, 1.9%, 42.3%, 79.6%)
CIE-LABlab(20.80, -3.55, 13.50)
CIE-LCHlch(20.80, 13.96, 104.72°)
OKLaboklab(31.6% -0.0095 0.0333)
OKLCHoklch(31.6% 0.035 105.9)
XYZxyz(2.8344, 3.1915, 1.6948)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34331E #1E1F34
analogous
#34281E #34331E #2A341E
triadic
#34331E #1E3433 #331E34
tetradic
#34331E #1E3428 #1E1F34 #341E2A
square
#34331E #1E3428 #1E1F34 #341E2A
split-complementary
#34331E #1E2A34 #281E34
monochromatic
#13130B #13130B #34331E #5B5934 #827F4B

Accessibility & contrast

On white

12.82
#34331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#34331E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34331E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34331E#FFFFFF#000000##FFFFFF
##34331E1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311C
Deuteranopia (green-blind)
#37321F
Tritanopia (blue-blind)
#37302E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #34331e;
/* rgb */ color: rgb(52, 51, 30);
/* oklch */ color: oklch(31.6% 0.035 105.9);
Tailwind
colors: {
  custom: {
    50: '#6c6a5a',
    500: '#34331e',
    950: '#000000',
  },
}
SCSS
$custom: #34331e;
$custom-light: #6c6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#34331e",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 57.273,
    "s": 26.829,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31596,
    "c": 0.03458,
    "h": 105.9
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#34331E
secondary
#474867
accent
#69C365
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#070603
muted
#7A7A78

Preview Lab

Preview with #34331E

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

Preview Lab → · Contrast checker → · Palette generator →

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