#5D6522#5D6522

#5D6522 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.5% C 0.090 H 115.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5D6522
RGBrgb(93, 101, 34)
HSLhsl(67, 50%, 26%)
HSVhsv(67, 66%, 40%)
CMYKcmyk(7.9%, 0%, 66.3%, 60.4%)
CIE-LABlab(40.82, -13.21, 35.71)
CIE-LCHlch(40.82, 38.07, 110.30°)
OKLaboklab(48.52% -0.0391 0.0815)
OKLCHoklch(48.52% 0.09 115.6)
XYZxyz(9.4568, 11.7501, 3.2829)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6522 #2A2265
analogous
#654C22 #5D6522 #3C6522
triadic
#5D6522 #225D65 #65225D
tetradic
#5D6522 #22654C #2A2265 #65223C
square
#5D6522 #22654C #2A2265 #65223C
split-complementary
#5D6522 #223C65 #4C2265
monochromatic
#151708 #333713 #5D6522 #879331 #B0BF42

Accessibility & contrast

On white

6.27
#5D6522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5D6522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6522
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6522#FFFFFF#000000##FFFFFF
##5D65221.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601A
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#635F57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d6522;
/* rgb */ color: rgb(93, 101, 34);
/* oklch */ color: oklch(48.5% 0.090 115.6);
Tailwind
colors: {
  custom: {
    50: '#8d9061',
    500: '#5d6522',
    950: '#000000',
  },
}
SCSS
$custom: #5d6522;
$custom-light: #8d9061;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6522",
  "rgb": {
    "r": 93,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 67.164,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.09037,
    "h": 115.6
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#5D6522
secondary
#534A99
accent
#4FD95F
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5D6522

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

Preview Lab → · Contrast checker → · Palette generator →

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