#34310F#34310F

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

Color values

HEX#34310F
RGBrgb(52, 49, 15)
HSLhsl(55, 55%, 13%)
HSVhsv(55, 71%, 20%)
CMYKcmyk(0%, 5.8%, 71.2%, 79.6%)
CIE-LABlab(19.89, -4.02, 21.61)
CIE-LCHlch(19.89, 21.98, 100.54°)
OKLaboklab(30.8% -0.0126 0.0497)
OKLCHoklch(30.8% 0.051 104.3)
XYZxyz(2.6008, 2.9613, 0.8864)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34310F #0F1234
analogous
#341E0F #34310F #24340F
triadic
#34310F #0F3431 #310F34
tetradic
#34310F #0F341E #0F1234 #340F24
square
#34310F #0F341E #0F1234 #340F24
split-complementary
#34310F #0F2434 #1E0F34
monochromatic
#181607 #181607 #34310F #635E1D #938B2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34310F#FFFFFF#000000##FFFFFF
##34310F1.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)
#362F0B
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#382D2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #34310f;
/* rgb */ color: rgb(52, 49, 15);
/* oklch */ color: oklch(30.8% 0.051 104.3);
Tailwind
colors: {
  custom: {
    50: '#6d684f',
    500: '#34310f',
    950: '#000000',
  },
}
SCSS
$custom: #34310f;
$custom-light: #6d684f;
$custom-dark: #000000;
JSON
{
  "hex": "#34310f",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 55.135,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.308,
    "c": 0.05128,
    "h": 104.3
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#34310F
secondary
#31366E
accent
#55DF49
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #34310F

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

Preview Lab → · Contrast checker → · Palette generator →

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