#5C5017#5C5017

#5C5017 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.076 H 97.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5C5017
RGBrgb(92, 80, 23)
HSLhsl(50, 60%, 23%)
HSVhsv(50, 75%, 36%)
CMYKcmyk(0%, 13%, 75%, 63.9%)
CIE-LABlab(34.14, -2.25, 33.88)
CIE-LCHlch(34.14, 33.95, 93.81°)
OKLaboklab(43.15% -0.0094 0.0757)
OKLCHoklch(43.15% 0.076 97.1)
XYZxyz(7.4373, 8.0749, 1.9773)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5017 #17235C
analogous
#5C2D17 #5C5017 #465C17
triadic
#5C5017 #175C50 #50175C
tetradic
#5C5017 #175C2D #17235C #5C1746
square
#5C5017 #175C2D #17235C #5C1746
split-complementary
#5C5017 #17465C #2D175C
monochromatic
#181506 #2B250B #5C5017 #8D7B23 #BEA52F

Accessibility & contrast

On white

8.03
#5C5017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5C5017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5017
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5017#FFFFFF#000000##FFFFFF
##5C50171.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0F
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#644944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c5017;
/* rgb */ color: rgb(92, 80, 23);
/* oklch */ color: oklch(43.1% 0.076 97.1);
Tailwind
colors: {
  custom: {
    50: '#8d8058',
    500: '#5c5017',
    950: '#000000',
  },
}
SCSS
$custom: #5c5017;
$custom-light: #8d8058;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5017",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 49.565,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43148,
    "c": 0.07628,
    "h": 97.1
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#5C5017
secondary
#3C4B93
accent
#60E345
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5C5017

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

Preview Lab → · Contrast checker → · Palette generator →

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