#5D6210#5D6210

#5D6210 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.6% C 0.099 H 113.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5D6210
RGBrgb(93, 98, 16)
HSLhsl(64, 72%, 22%)
HSVhsv(64, 84%, 38%)
CMYKcmyk(5.1%, 0%, 83.7%, 61.6%)
CIE-LABlab(39.75, -12.60, 41.98)
CIE-LCHlch(39.75, 43.83, 106.71°)
OKLaboklab(47.63% -0.0393 0.0914)
OKLCHoklch(47.63% 0.099 113.3)
XYZxyz(8.9757, 11.1001, 2.1598)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6210 #151062
analogous
#623E10 #5D6210 #346210
triadic
#5D6210 #105D62 #62105D
tetradic
#5D6210 #10623E #151062 #621034
square
#5D6210 #10623E #151062 #621034
split-complementary
#5D6210 #103462 #3E1062
monochromatic
#191A04 #2B2D07 #5D6210 #8F9719 #C1CB21

Accessibility & contrast

On white

6.52
#5D6210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5D6210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6210
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6210#FFFFFF#000000##FFFFFF
##5D62101.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#6A5E18
Tritanopia (blue-blind)
#645C53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d6210;
/* rgb */ color: rgb(93, 98, 16);
/* oklch */ color: oklch(47.6% 0.099 113.3);
Tailwind
colors: {
  custom: {
    50: '#8e8e57',
    500: '#5d6210',
    950: '#000000',
  },
}
SCSS
$custom: #5d6210;
$custom-light: #8e8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6210",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 63.659,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.47628,
    "c": 0.09948,
    "h": 113.3
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#5D6210
secondary
#39339B
accent
#39EF44
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5D6210

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

Preview Lab → · Contrast checker → · Palette generator →

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