#5A6410#5A6410

#5A6410 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 47.9% C 0.103 H 116.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5A6410
RGBrgb(90, 100, 16)
HSLhsl(67, 72%, 23%)
HSVhsv(67, 84%, 39%)
CMYKcmyk(10%, 0%, 84%, 60.8%)
CIE-LABlab(40.12, -15.14, 42.22)
CIE-LCHlch(40.12, 44.85, 109.73°)
OKLaboklab(47.87% -0.0461 0.092)
OKLCHoklch(47.87% 0.103 116.6)
XYZxyz(8.8674, 11.3255, 2.2090)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6410 #1A1064
analogous
#644410 #5A6410 #306410
triadic
#5A6410 #105A64 #64105A
tetradic
#5A6410 #106444 #1A1064 #641030
square
#5A6410 #106444 #1A1064 #641030
split-complementary
#5A6410 #103064 #441064
monochromatic
#181A04 #2B2F08 #5A6410 #899918 #B9CE21

Accessibility & contrast

On white

6.43
#5A6410 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6410
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6410#FFFFFF#000000##FFFFFF
##5A64101.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6B5F18
Tritanopia (blue-blind)
#605E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a6410;
/* rgb */ color: rgb(90, 100, 16);
/* oklch */ color: oklch(47.9% 0.103 116.6);
Tailwind
colors: {
  custom: {
    50: '#8c9057',
    500: '#5a6410',
    950: '#000000',
  },
}
SCSS
$custom: #5a6410;
$custom-light: #8c9057;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6410",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 16
  },
  "hsl": {
    "h": 67.143,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47865,
    "c": 0.10294,
    "h": 116.6
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#5A6410
secondary
#40339D
accent
#39EF4E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A6410

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

Preview Lab → · Contrast checker → · Palette generator →

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