#5A5C10#5A5C10

#5A5C10 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.8% C 0.093 H 111.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5A5C10
RGBrgb(90, 92, 16)
HSLhsl(62, 70%, 21%)
HSVhsv(62, 83%, 36%)
CMYKcmyk(2.2%, 0%, 82.6%, 63.9%)
CIE-LABlab(37.60, -10.67, 39.95)
CIE-LCHlch(37.60, 41.35, 104.95°)
OKLaboklab(45.84% -0.0337 0.0872)
OKLCHoklch(45.84% 0.093 111.1)
XYZxyz(8.1374, 9.8656, 1.9657)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5C10 #12105C
analogous
#5C3810 #5A5C10 #345C10
triadic
#5A5C10 #105A5C #5C105A
tetradic
#5A5C10 #105C38 #12105C #5C1034
square
#5A5C10 #105C38 #12105C #5C1034
split-complementary
#5A5C10 #10345C #38105C
monochromatic
#191A05 #272807 #5A5C10 #8D9019 #C0C422

Accessibility & contrast

On white

7.06
#5A5C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5A5C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5C10
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5C10#FFFFFF#000000##FFFFFF
##5A5C101.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#645917
Tritanopia (blue-blind)
#61564E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5a5c10;
/* rgb */ color: rgb(90, 92, 16);
/* oklch */ color: oklch(45.8% 0.093 111.1);
Tailwind
colors: {
  custom: {
    50: '#8b8956',
    500: '#5a5c10',
    950: '#000000',
  },
}
SCSS
$custom: #5a5c10;
$custom-light: #8b8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5c10",
  "rgb": {
    "r": 90,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 61.579,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45841,
    "c": 0.09349,
    "h": 111.1
  },
  "luminance": 0.09865
}

Semantic roles & 50–950 ramp

primary
#5A5C10
secondary
#353395
accent
#3BED3F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5C10

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

Preview Lab → · Contrast checker → · Palette generator →

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