#5D6421#5D6421

#5D6421 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.3% C 0.090 H 114.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5D6421
RGBrgb(93, 100, 33)
HSLhsl(66, 50%, 26%)
HSVhsv(66, 67%, 39%)
CMYKcmyk(7%, 0%, 67%, 60.8%)
CIE-LABlab(40.49, -12.73, 35.84)
CIE-LCHlch(40.49, 38.03, 109.55°)
OKLaboklab(48.26% -0.0378 0.0816)
OKLCHoklch(48.26% 0.09 114.9)
XYZxyz(9.3461, 11.5515, 3.1759)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6421 #282164
analogous
#644921 #5D6421 #3B6421
triadic
#5D6421 #215D64 #64215D
tetradic
#5D6421 #216449 #282164 #64213B
square
#5D6421 #216449 #282164 #64213B
split-complementary
#5D6421 #213B64 #492164
monochromatic
#151708 #323612 #5D6421 #889230 #B2C040

Accessibility & contrast

On white

6.34
#5D6421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5D6421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6421
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6421#FFFFFF#000000##FFFFFF
##5D64211.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F19
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#635E56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d6421;
/* rgb */ color: rgb(93, 100, 33);
/* oklch */ color: oklch(48.3% 0.090 114.9);
Tailwind
colors: {
  custom: {
    50: '#8d9060',
    500: '#5d6421',
    950: '#000000',
  },
}
SCSS
$custom: #5d6421;
$custom-light: #8d9060;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6421",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 33
  },
  "hsl": {
    "h": 66.269,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.08995,
    "h": 114.9
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#5D6421
secondary
#514998
accent
#4EDA5D
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5D6421

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

Preview Lab → · Contrast checker → · Palette generator →

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