#34310E#34310E

#34310E is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.052 H 104.4°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#34310E
RGBrgb(52, 49, 14)
HSLhsl(55, 58%, 13%)
HSVhsv(55, 73%, 20%)
CMYKcmyk(0%, 5.8%, 73.1%, 79.6%)
CIE-LABlab(19.88, -4.11, 22.12)
CIE-LCHlch(19.88, 22.49, 100.52°)
OKLaboklab(30.79% -0.013 0.0507)
OKLCHoklch(30.79% 0.052 104.4)
XYZxyz(2.5938, 2.9585, 0.8498)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34310E #0E1134
analogous
#341E0E #34310E #24340E
triadic
#34310E #0E3431 #310E34
tetradic
#34310E #0E341E #0E1134 #340E24
square
#34310E #0E341E #0E1134 #340E24
split-complementary
#34310E #0E2434 #1E0E34
monochromatic
#181706 #181706 #34310E #645E1B #948C28

Accessibility & contrast

On white

13.19
#34310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34310E
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34310E#FFFFFF#000000##FFFFFF
##34310E1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0A
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#382D2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #34310e;
/* rgb */ color: rgb(52, 49, 14);
/* oklch */ color: oklch(30.8% 0.052 104.4);
Tailwind
colors: {
  custom: {
    50: '#6d684e',
    500: '#34310e',
    950: '#000000',
  },
}
SCSS
$custom: #34310e;
$custom-light: #6d684e;
$custom-dark: #000000;
JSON
{
  "hex": "#34310e",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 55.263,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30787,
    "c": 0.05233,
    "h": 104.4
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#34310E
secondary
#2F346F
accent
#53E147
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #34310E

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

Preview Lab → · Contrast checker → · Palette generator →

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