#5C5015#5C5015

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

Color values

HEX#5C5015
RGBrgb(92, 80, 21)
HSLhsl(50, 63%, 22%)
HSVhsv(50, 77%, 36%)
CMYKcmyk(0%, 13%, 77.2%, 63.9%)
CIE-LABlab(34.12, -2.37, 34.76)
CIE-LCHlch(34.12, 34.85, 93.90°)
OKLaboklab(43.13% -0.01 0.0772)
OKLCHoklch(43.13% 0.078 97.4)
XYZxyz(7.4180, 8.0672, 1.8757)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5015 #15215C
analogous
#5C2D15 #5C5015 #455C15
triadic
#5C5015 #155C50 #50155C
tetradic
#5C5015 #155C2D #15215C #5C1545
square
#5C5015 #155C2D #15215C #5C1545
split-complementary
#5C5015 #15455C #2D155C
monochromatic
#191606 #2A250A #5C5015 #8E7B20 #C0A72C

Accessibility & contrast

On white

8.04
#5C5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C5015
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5015#FFFFFF#000000##FFFFFF
##5C50151.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5015;
/* rgb */ color: rgb(92, 80, 21);
/* oklch */ color: oklch(43.1% 0.078 97.4);
Tailwind
colors: {
  custom: {
    50: '#8d8057',
    500: '#5c5015',
    950: '#000000',
  },
}
SCSS
$custom: #5c5015;
$custom-light: #8d8057;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5015",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 49.859,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4313,
    "c": 0.0778,
    "h": 97.4
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#5C5015
secondary
#394993
accent
#5EE642
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5C5015

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

Preview Lab → · Contrast checker → · Palette generator →

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