#34340F#34340F

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

Color values

HEX#34340F
RGBrgb(52, 52, 15)
HSLhsl(60, 55%, 13%)
HSVhsv(60, 71%, 20%)
CMYKcmyk(0%, 0%, 71.2%, 79.6%)
CIE-LABlab(20.91, -5.95, 22.75)
CIE-LCHlch(20.91, 23.51, 104.65°)
OKLaboklab(31.61% -0.0181 0.0521)
OKLCHoklch(31.61% 0.055 109.2)
XYZxyz(2.7305, 3.2206, 0.9297)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34340F #0F0F34
analogous
#34210F #34340F #21340F
triadic
#34340F #0F3434 #340F34
tetradic
#34340F #0F3421 #0F0F34 #340F21
square
#34340F #0F3421 #0F0F34 #340F21
split-complementary
#34340F #0F2134 #210F34
monochromatic
#181807 #181807 #34340F #63631D #93932A

Accessibility & contrast

On white

12.77
#34340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34340F
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34340F#FFFFFF#000000##FFFFFF
##34340F1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320B
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#38302C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #34340f;
/* rgb */ color: rgb(52, 52, 15);
/* oklch */ color: oklch(31.6% 0.055 109.2);
Tailwind
colors: {
  custom: {
    50: '#6d6b4f',
    500: '#34340f',
    950: '#000000',
  },
}
SCSS
$custom: #34340f;
$custom-light: #6d6b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#34340f",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31611,
    "c": 0.05513,
    "h": 109.2
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#34340F
secondary
#31316E
accent
#49DF49
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #34340F

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

Preview Lab → · Contrast checker → · Palette generator →

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