#5D530F#5D530F

#5D530F is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.9% C 0.084 H 100.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5D530F
RGBrgb(93, 83, 15)
HSLhsl(52, 72%, 21%)
HSVhsv(52, 84%, 36%)
CMYKcmyk(0%, 10.8%, 83.9%, 63.5%)
CIE-LABlab(35.10, -3.97, 38.15)
CIE-LCHlch(35.10, 38.36, 95.93°)
OKLaboklab(43.92% -0.0152 0.083)
OKLCHoklch(43.92% 0.084 100.4)
XYZxyz(7.6941, 8.5485, 1.6966)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D530F #0F195D
analogous
#5D2C0F #5D530F #405D0F
triadic
#5D530F #0F5D53 #530F5D
tetradic
#5D530F #0F5D2C #0F195D #5D0F40
square
#5D530F #0F5D2C #0F195D #5D0F40
split-complementary
#5D530F #0F405D #2C0F5D
monochromatic
#1A1804 #282406 #5D530F #928217 #C6B120

Accessibility & contrast

On white

7.75
#5D530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5D530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D530F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D530F#FFFFFF#000000##FFFFFF
##5D530F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5001
Deuteranopia (green-blind)
#5F5414
Tritanopia (blue-blind)
#654C46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d530f;
/* rgb */ color: rgb(93, 83, 15);
/* oklch */ color: oklch(43.9% 0.084 100.4);
Tailwind
colors: {
  custom: {
    50: '#8e8354',
    500: '#5d530f',
    950: '#000000',
  },
}
SCSS
$custom: #5d530f;
$custom-light: #8e8354;
$custom-dark: #000000;
JSON
{
  "hex": "#5d530f",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 52.308,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43918,
    "c": 0.08438,
    "h": 100.4
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#5D530F
secondary
#313E96
accent
#50EF39
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D530F

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

Preview Lab → · Contrast checker → · Palette generator →

#5D530F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva