#5A5E10#5A5E10

#5A5E10 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.3% C 0.096 H 112.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5A5E10
RGBrgb(90, 94, 16)
HSLhsl(63, 71%, 22%)
HSVhsv(63, 83%, 37%)
CMYKcmyk(4.3%, 0%, 83%, 63.1%)
CIE-LABlab(38.23, -11.80, 40.52)
CIE-LCHlch(38.23, 42.20, 106.24°)
OKLaboklab(46.35% -0.0369 0.0884)
OKLCHoklch(46.35% 0.096 112.6)
XYZxyz(8.3130, 10.2167, 2.0242)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5E10 #14105E
analogous
#5E3B10 #5A5E10 #335E10
triadic
#5A5E10 #105A5E #5E105A
tetradic
#5A5E10 #105E3B #14105E #5E1033
square
#5A5E10 #105E3B #14105E #5E1033
split-complementary
#5A5E10 #10335E #3B105E
monochromatic
#191A04 #282A07 #5A5E10 #8C9219 #BEC722

Accessibility & contrast

On white

6.90
#5A5E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5A5E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5E10
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5E10#FFFFFF#000000##FFFFFF
##5A5E101.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#615850
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5a5e10;
/* rgb */ color: rgb(90, 94, 16);
/* oklch */ color: oklch(46.3% 0.096 112.6);
Tailwind
colors: {
  custom: {
    50: '#8b8b56',
    500: '#5a5e10',
    950: '#000000',
  },
}
SCSS
$custom: #5a5e10;
$custom-light: #8b8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5e10",
  "rgb": {
    "r": 90,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 63.077,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.46345,
    "c": 0.09579,
    "h": 112.6
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#5A5E10
secondary
#383397
accent
#3AEE43
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A5E10

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

Preview Lab → · Contrast checker → · Palette generator →

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