#34331F#34331F

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

Color values

HEX#34331F
RGBrgb(52, 51, 31)
HSLhsl(57, 25%, 16%)
HSVhsv(57, 40%, 20%)
CMYKcmyk(0%, 1.9%, 40.4%, 79.6%)
CIE-LABlab(20.82, -3.40, 12.88)
CIE-LCHlch(20.82, 13.32, 104.78°)
OKLaboklab(31.62% -0.0089 0.0319)
OKLCHoklch(31.62% 0.033 105.7)
XYZxyz(2.8474, 3.1967, 1.7631)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34331F #1F2034
analogous
#34291F #34331F #2B341F
triadic
#34331F #1F3433 #331F34
tetradic
#34331F #1F3429 #1F2034 #341F2B
square
#34331F #1F3429 #1F2034 #341F2B
split-complementary
#34331F #1F2B34 #291F34
monochromatic
#13130B #13130B #34331F #5A5936 #817E4D

Accessibility & contrast

On white

12.81
#34331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34331F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34331F#FFFFFF#000000##FFFFFF
##34331F1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36321E
Deuteranopia (green-blind)
#373320
Tritanopia (blue-blind)
#37312E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #34331f;
/* rgb */ color: rgb(52, 51, 31);
/* oklch */ color: oklch(31.6% 0.033 105.7);
Tailwind
colors: {
  custom: {
    50: '#6c6a5a',
    500: '#34331f',
    950: '#000000',
  },
}
SCSS
$custom: #34331f;
$custom-light: #6c6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#34331f",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 57.143,
    "s": 25.301,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31618,
    "c": 0.03308,
    "h": 105.7
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#34331F
secondary
#484967
accent
#6AC266
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#070604
muted
#7A7A79

Preview Lab

Preview with #34331F

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

Preview Lab → · Contrast checker → · Palette generator →

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