#5D5E15#5D5E15

#5D5E15 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.7% C 0.092 H 110.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5D5E15
RGBrgb(93, 94, 21)
HSLhsl(61, 63%, 23%)
HSVhsv(61, 78%, 37%)
CMYKcmyk(1.1%, 0%, 77.7%, 63.1%)
CIE-LABlab(38.53, -10.11, 39.06)
CIE-LCHlch(38.53, 40.35, 104.51°)
OKLaboklab(46.66% -0.0319 0.0862)
OKLCHoklch(46.66% 0.092 110.3)
XYZxyz(8.6526, 10.3870, 2.2584)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5E15 #16155E
analogous
#5E3B15 #5D5E15 #385E15
triadic
#5D5E15 #155D5E #5E155D
tetradic
#5D5E15 #155E3B #16155E #5E1538
square
#5D5E15 #155E3B #16155E #5E1538
split-complementary
#5D5E15 #15385E #3B155E
monochromatic
#191906 #2C2C0A #5D5E15 #8E9020 #C0C22B

Accessibility & contrast

On white

6.82
#5D5E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5D5E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5E15
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5E15#FFFFFF#000000##FFFFFF
##5D5E151.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A07
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#645850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5e15;
/* rgb */ color: rgb(93, 94, 21);
/* oklch */ color: oklch(46.7% 0.092 110.3);
Tailwind
colors: {
  custom: {
    50: '#8e8b59',
    500: '#5d5e15',
    950: '#000000',
  },
}
SCSS
$custom: #5d5e15;
$custom-light: #8e8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5e15",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 60.822,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4666,
    "c": 0.09191,
    "h": 110.3
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#5D5E15
secondary
#3B3995
accent
#41E744
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D5E15

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

Preview Lab → · Contrast checker → · Palette generator →

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