#5D6428#5D6428

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

Color values

HEX#5D6428
RGBrgb(93, 100, 40)
HSLhsl(67, 43%, 27%)
HSVhsv(67, 60%, 39%)
CMYKcmyk(7%, 0%, 60%, 60.8%)
CIE-LABlab(40.56, -12.14, 32.47)
CIE-LCHlch(40.56, 34.67, 110.50°)
OKLaboklab(48.34% -0.0354 0.0755)
OKLCHoklch(48.34% 0.083 115.1)
XYZxyz(9.4546, 11.5948, 3.7470)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6428 #2F2864
analogous
#644D28 #5D6428 #3F6428
triadic
#5D6428 #285D64 #64285D
tetradic
#5D6428 #28644D #2F2864 #64283F
square
#5D6428 #28644D #2F2864 #64283F
split-complementary
#5D6428 #283F64 #4D2864
monochromatic
#141609 #343817 #5D6428 #869039 #ACB84E

Accessibility & contrast

On white

6.33
#5D6428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5D6428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6428
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6428#FFFFFF#000000##FFFFFF
##5D64281.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F22
Deuteranopia (green-blind)
#6A602C
Tritanopia (blue-blind)
#635E57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d6428;
/* rgb */ color: rgb(93, 100, 40);
/* oklch */ color: oklch(48.3% 0.083 115.1);
Tailwind
colors: {
  custom: {
    50: '#8d9064',
    500: '#5d6428',
    950: '#000000',
  },
}
SCSS
$custom: #5d6428;
$custom-light: #8d9064;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6428",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 40
  },
  "hsl": {
    "h": 67,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48343,
    "c": 0.08334,
    "h": 115.1
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#5D6428
secondary
#595197
accent
#55D364
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C05
muted
#7D7D7A

Preview Lab

Preview with #5D6428

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

Preview Lab → · Contrast checker → · Palette generator →

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