#34310A#34310A

#34310A is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.7% C 0.056 H 104.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#34310A
RGBrgb(52, 49, 10)
HSLhsl(56, 68%, 12%)
HSVhsv(56, 81%, 20%)
CMYKcmyk(0%, 5.8%, 80.8%, 79.6%)
CIE-LABlab(19.84, -4.41, 23.89)
CIE-LCHlch(19.84, 24.29, 100.46°)
OKLaboklab(30.74% -0.0144 0.0542)
OKLCHoklch(30.74% 0.056 104.9)
XYZxyz(2.5694, 2.9487, 0.7209)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34310A #0A0D34
analogous
#341C0A #34310A #22340A
triadic
#34310A #0A3431 #310A34
tetradic
#34310A #0A341C #0A0D34 #340A22
square
#34310A #0A341C #0A0D34 #340A22
split-complementary
#34310A #0A2234 #1C0A34
monochromatic
#1A1805 #1A1805 #34310A #676114 #9B921E

Accessibility & contrast

On white

13.21
#34310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#34310A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34310A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34310A#FFFFFF#000000##FFFFFF
##34310A1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F05
Deuteranopia (green-blind)
#37310D
Tritanopia (blue-blind)
#382D29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #34310a;
/* rgb */ color: rgb(52, 49, 10);
/* oklch */ color: oklch(30.7% 0.056 104.9);
Tailwind
colors: {
  custom: {
    50: '#6d684c',
    500: '#34310a',
    950: '#000000',
  },
}
SCSS
$custom: #34310a;
$custom-light: #6d684c;
$custom-dark: #000000;
JSON
{
  "hex": "#34310a",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 55.714,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30743,
    "c": 0.05612,
    "h": 104.9
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#34310A
secondary
#282E71
accent
#4AEB3D
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #34310A

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

Preview Lab → · Contrast checker → · Palette generator →

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