#5C500F#5C500F

#5C500F is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.1% C 0.082 H 98.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5C500F
RGBrgb(92, 80, 15)
HSLhsl(51, 72%, 21%)
HSVhsv(51, 84%, 36%)
CMYKcmyk(0%, 13%, 83.7%, 63.9%)
CIE-LABlab(34.08, -2.67, 37.19)
CIE-LCHlch(34.08, 37.28, 94.10°)
OKLaboklab(43.09% -0.0115 0.081)
OKLCHoklch(43.09% 0.082 98.1)
XYZxyz(7.3689, 8.0475, 1.6170)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C500F #0F1B5C
analogous
#5C290F #5C500F #415C0F
triadic
#5C500F #0F5C50 #500F5C
tetradic
#5C500F #0F5C29 #0F1B5C #5C0F41
square
#5C500F #0F5C29 #0F1B5C #5C0F41
split-complementary
#5C500F #0F415C #290F5C
monochromatic
#1A1704 #272206 #5C500F #917E18 #C5AC20

Accessibility & contrast

On white

8.05
#5C500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C500F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C500F#FFFFFF#000000##FFFFFF
##5C500F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c500f;
/* rgb */ color: rgb(92, 80, 15);
/* oklch */ color: oklch(43.1% 0.082 98.1);
Tailwind
colors: {
  custom: {
    50: '#8d8054',
    500: '#5c500f',
    950: '#000000',
  },
}
SCSS
$custom: #5c500f;
$custom-light: #8d8054;
$custom-dark: #000000;
JSON
{
  "hex": "#5c500f",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 50.649,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43085,
    "c": 0.0818,
    "h": 98.1
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#5C500F
secondary
#314195
accent
#55EF39
background
#F8F7F5
surface
#F0EEE8
border
#CBC9C4
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C500F

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

Preview Lab → · Contrast checker → · Palette generator →

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