#5C5014#5C5014

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

Color values

HEX#5C5014
RGBrgb(92, 80, 20)
HSLhsl(50, 64%, 22%)
HSVhsv(50, 78%, 36%)
CMYKcmyk(0%, 13%, 78.3%, 63.9%)
CIE-LABlab(34.11, -2.42, 35.19)
CIE-LCHlch(34.11, 35.28, 93.94°)
OKLaboklab(43.12% -0.0103 0.0779)
OKLCHoklch(43.12% 0.079 97.5)
XYZxyz(7.4089, 8.0635, 1.8279)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5014 #14205C
analogous
#5C2C14 #5C5014 #445C14
triadic
#5C5014 #145C50 #50145C
tetradic
#5C5014 #145C2C #14205C #5C1444
square
#5C5014 #145C2C #14205C #5C1444
split-complementary
#5C5014 #14445C #2C145C
monochromatic
#191605 #2A2409 #5C5014 #8E7C1F #C1A72A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5014#FFFFFF#000000##FFFFFF
##5C50141.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)
#594E0A
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#644944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c5014;
/* rgb */ color: rgb(92, 80, 20);
/* oklch */ color: oklch(43.1% 0.079 97.5);
Tailwind
colors: {
  custom: {
    50: '#8d8056',
    500: '#5c5014',
    950: '#000000',
  },
}
SCSS
$custom: #5c5014;
$custom-light: #8d8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5014",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 50,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43122,
    "c": 0.07853,
    "h": 97.5
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#5C5014
secondary
#384794
accent
#5CE741
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5014

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

Preview Lab → · Contrast checker → · Palette generator →

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