#5A6411#5A6411

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

Color values

HEX#5A6411
RGBrgb(90, 100, 17)
HSLhsl(67, 71%, 23%)
HSVhsv(67, 83%, 39%)
CMYKcmyk(10%, 0%, 83%, 60.8%)
CIE-LABlab(40.13, -15.10, 41.90)
CIE-LCHlch(40.13, 44.53, 109.82°)
OKLaboklab(47.87% -0.0459 0.0916)
OKLCHoklch(47.87% 0.102 116.6)
XYZxyz(8.8750, 11.3286, 2.2493)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6411 #1B1164
analogous
#644411 #5A6411 #306411
triadic
#5A6411 #115A64 #64115A
tetradic
#5A6411 #116444 #1B1164 #641130
square
#5A6411 #116444 #1B1164 #641130
split-complementary
#5A6411 #113064 #441164
monochromatic
#181A04 #2B3008 #5A6411 #89981A #B8CD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6411#FFFFFF#000000##FFFFFF
##5A64111.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)
#6B5F19
Tritanopia (blue-blind)
#605E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a6411;
/* rgb */ color: rgb(90, 100, 17);
/* oklch */ color: oklch(47.9% 0.102 116.6);
Tailwind
colors: {
  custom: {
    50: '#8c9058',
    500: '#5a6411',
    950: '#000000',
  },
}
SCSS
$custom: #5a6411;
$custom-light: #8c9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6411",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 17
  },
  "hsl": {
    "h": 67.229,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47871,
    "c": 0.10241,
    "h": 116.6
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#5A6411
secondary
#41359C
accent
#3AEE50
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A6411

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

Preview Lab → · Contrast checker → · Palette generator →

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