#5D6322#5D6322

#5D6322 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.0% C 0.088 H 114.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5D6322
RGBrgb(93, 99, 34)
HSLhsl(66, 49%, 26%)
HSVhsv(66, 66%, 39%)
CMYKcmyk(6.1%, 0%, 65.7%, 61.2%)
CIE-LABlab(40.19, -12.09, 35.04)
CIE-LCHlch(40.19, 37.07, 109.04°)
OKLaboklab(48.02% -0.0359 0.0801)
OKLCHoklch(48.02% 0.088 114.2)
XYZxyz(9.2650, 11.3665, 3.2189)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6322 #282263
analogous
#634822 #5D6322 #3C6322
triadic
#5D6322 #225D63 #63225D
tetradic
#5D6322 #226348 #282263 #63223C
square
#5D6322 #226348 #282263 #63223C
split-complementary
#5D6322 #223C63 #482263
monochromatic
#151708 #323512 #5D6322 #889132 #B2BE41

Accessibility & contrast

On white

6.42
#5D6322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5D6322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6322
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6322#FFFFFF#000000##FFFFFF
##5D63221.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#635D55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d6322;
/* rgb */ color: rgb(93, 99, 34);
/* oklch */ color: oklch(48.0% 0.088 114.2);
Tailwind
colors: {
  custom: {
    50: '#8d8f60',
    500: '#5d6322',
    950: '#000000',
  },
}
SCSS
$custom: #5d6322;
$custom-light: #8d8f60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6322",
  "rgb": {
    "r": 93,
    "g": 99,
    "b": 34
  },
  "hsl": {
    "h": 65.538,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48024,
    "c": 0.08776,
    "h": 114.2
  },
  "luminance": 0.11366
}

Semantic roles & 50–950 ramp

primary
#5D6322
secondary
#514A97
accent
#4FD85C
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5D6322

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

Preview Lab → · Contrast checker → · Palette generator →

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