#5D5D14#5D5D14

#5D5D14 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.4% C 0.091 H 109.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5D5D14
RGBrgb(93, 93, 20)
HSLhsl(60, 65%, 22%)
HSVhsv(60, 78%, 36%)
CMYKcmyk(0%, 0%, 78.5%, 63.5%)
CIE-LABlab(38.21, -9.59, 39.15)
CIE-LCHlch(38.21, 40.31, 103.76°)
OKLaboklab(46.4% -0.0305 0.0862)
OKLCHoklch(46.4% 0.091 109.5)
XYZxyz(8.5551, 10.2066, 2.1811)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5D14 #14145D
analogous
#5D3914 #5D5D14 #395D14
triadic
#5D5D14 #145D5D #5D145D
tetradic
#5D5D14 #145D39 #14145D #5D1439
square
#5D5D14 #145D39 #14145D #5D1439
split-complementary
#5D5D14 #14395D #39145D
monochromatic
#191905 #2B2B09 #5D5D14 #8F8F1F #C2C22A

Accessibility & contrast

On white

6.91
#5D5D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5D5D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5D14
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5D14#FFFFFF#000000##FFFFFF
##5D5D141.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655905
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#64574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d5d14;
/* rgb */ color: rgb(93, 93, 20);
/* oklch */ color: oklch(46.4% 0.091 109.5);
Tailwind
colors: {
  custom: {
    50: '#8e8a58',
    500: '#5d5d14',
    950: '#000000',
  },
}
SCSS
$custom: #5d5d14;
$custom-light: #8e8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5d14",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.09144,
    "h": 109.5
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#5D5D14
secondary
#383895
accent
#40E840
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5D5D14

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

Preview Lab → · Contrast checker → · Palette generator →

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