#5D6018#5D6018

#5D6018 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.2% C 0.092 H 111.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5D6018
RGBrgb(93, 96, 24)
HSLhsl(63, 60%, 24%)
HSVhsv(63, 75%, 38%)
CMYKcmyk(3.1%, 0%, 75%, 62.4%)
CIE-LABlab(39.17, -11.08, 38.48)
CIE-LCHlch(39.17, 40.04, 106.07°)
OKLaboklab(47.18% -0.0342 0.0856)
OKLCHoklch(47.18% 0.092 111.8)
XYZxyz(8.8622, 10.7591, 2.4738)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6018 #1B1860
analogous
#603F18 #5D6018 #396018
triadic
#5D6018 #185D60 #60185D
tetradic
#5D6018 #18603F #1B1860 #601839
square
#5D6018 #18603F #1B1860 #601839
split-complementary
#5D6018 #183960 #3F1860
monochromatic
#181806 #2E2F0C #5D6018 #8C9124 #BCC230

Accessibility & contrast

On white

6.66
#5D6018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5D6018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6018
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6018#FFFFFF#000000##FFFFFF
##5D60181.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0C
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#645A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d6018;
/* rgb */ color: rgb(93, 96, 24);
/* oklch */ color: oklch(47.2% 0.092 111.8);
Tailwind
colors: {
  custom: {
    50: '#8d8d5a',
    500: '#5d6018',
    950: '#000000',
  },
}
SCSS
$custom: #5d6018;
$custom-light: #8d8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6018",
  "rgb": {
    "r": 93,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 62.5,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47181,
    "c": 0.09217,
    "h": 111.8
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

primary
#5D6018
secondary
#413D96
accent
#45E34B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D6018

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

Preview Lab → · Contrast checker → · Palette generator →

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