#A5A562#A5A562

#A5A562 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.6% C 0.089 H 108.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A5A562
RGBrgb(165, 165, 98)
HSLhsl(60, 27%, 52%)
HSVhsv(60, 41%, 65%)
CMYKcmyk(0%, 0%, 40.6%, 35.3%)
CIE-LABlab(66.36, -10.18, 34.69)
CIE-LCHlch(66.36, 36.15, 106.35°)
OKLaboklab(70.65% -0.0281 0.0843)
OKLCHoklch(70.65% 0.089 108.5)
XYZxyz(31.1772, 35.7921, 16.8191)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A562 #6262A5
analogous
#A58462 #A5A562 #84A562
triadic
#A5A562 #62A5A5 #A562A5
tetradic
#A5A562 #62A584 #6262A5 #A56284
square
#A5A562 #62A584 #6262A5 #A56284
split-complementary
#A5A562 #6284A5 #8462A5
monochromatic
#595933 #80804A #A5A562 #BBBB89 #D2D2B0

Accessibility & contrast

On white

2.57
#A5A562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#A5A562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A562
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A562#FFFFFF#000000##000000
##A5A5621.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05D
Deuteranopia (green-blind)
#B0A365
Tritanopia (blue-blind)
#AE9D95
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a562;
/* rgb */ color: rgb(165, 165, 98);
/* oklch */ color: oklch(70.6% 0.089 108.5);
Tailwind
colors: {
  custom: {
    50: '#c1bf90',
    500: '#a5a562',
    950: '#000000',
  },
}
SCSS
$custom: #a5a562;
$custom-light: #c1bf90;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a562",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 27.126,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70645,
    "c": 0.08883,
    "h": 108.5
  },
  "luminance": 0.35791
}

Semantic roles & 50–950 ramp

primary
#A5A562
secondary
#A3A3C0
accent
#64C364
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A562

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

Preview Lab → · Contrast checker → · Palette generator →

#A5A562 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva