#5A5A10#5A5A10

#5A5A10 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.091 H 109.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5A5A10
RGBrgb(90, 90, 16)
HSLhsl(60, 70%, 21%)
HSVhsv(60, 82%, 35%)
CMYKcmyk(0%, 0%, 82.2%, 64.7%)
CIE-LABlab(36.97, -9.52, 39.38)
CIE-LCHlch(36.97, 40.51, 103.59°)
OKLaboklab(45.34% -0.0305 0.086)
OKLCHoklch(45.34% 0.091 109.5)
XYZxyz(7.9664, 9.5236, 1.9087)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5A10 #10105A
analogous
#5A3510 #5A5A10 #355A10
triadic
#5A5A10 #105A5A #5A105A
tetradic
#5A5A10 #105A35 #10105A #5A1035
square
#5A5A10 #105A35 #10105A #5A1035
split-complementary
#5A5A10 #10355A #35105A
monochromatic
#1A1A05 #262607 #5A5A10 #8E8E19 #C2C222

Accessibility & contrast

On white

7.23
#5A5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5A5A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5A10
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5A10#FFFFFF#000000##FFFFFF
##5A5A101.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#635816
Tritanopia (blue-blind)
#61544C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5a5a10;
/* rgb */ color: rgb(90, 90, 16);
/* oklch */ color: oklch(45.3% 0.091 109.5);
Tailwind
colors: {
  custom: {
    50: '#8b8856',
    500: '#5a5a10',
    950: '#000000',
  },
}
SCSS
$custom: #5a5a10;
$custom-light: #8b8856;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5a10",
  "rgb": {
    "r": 90,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 60,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.09124,
    "h": 109.5
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#5A5A10
secondary
#333393
accent
#3BED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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