#534717#534717

#534717 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 40.0% C 0.068 H 95.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#534717
RGBrgb(83, 71, 23)
HSLhsl(48, 57%, 21%)
HSVhsv(48, 72%, 33%)
CMYKcmyk(0%, 14.5%, 72.3%, 67.5%)
CIE-LABlab(30.42, -1.26, 29.73)
CIE-LCHlch(30.42, 29.75, 92.44°)
OKLaboklab(39.98% -0.0059 0.0673)
OKLCHoklch(39.98% 0.068 95)
XYZxyz(5.9755, 6.4076, 1.7325)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#534717 #172353
analogous
#532917 #534717 #415317
triadic
#534717 #175347 #471753
tetradic
#534717 #175329 #172353 #531741
square
#534717 #175329 #172353 #531741
split-complementary
#534717 #174153 #291753
monochromatic
#181407 #231E0A #534717 #837024 #B39932

Accessibility & contrast

On white

9.20
#534717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#534717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #534717
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##534717#FFFFFF#000000##FFFFFF
##5347171.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4511
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#5A413D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #534717;
/* rgb */ color: rgb(83, 71, 23);
/* oklch */ color: oklch(40.0% 0.068 95.0);
Tailwind
colors: {
  custom: {
    50: '#867a57',
    500: '#534717',
    950: '#000000',
  },
}
SCSS
$custom: #534717;
$custom-light: #867a57;
$custom-dark: #000000;
JSON
{
  "hex": "#534717",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 48,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.06752,
    "h": 95
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#534717
secondary
#3C4B8A
accent
#66E048
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #534717

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

Preview Lab → · Contrast checker → · Palette generator →

#534717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva