#A5A962#A5A962

#A5A962 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.5% C 0.094 H 111.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A5A962
RGBrgb(165, 169, 98)
HSLhsl(63, 29%, 52%)
HSVhsv(63, 42%, 66%)
CMYKcmyk(2.4%, 0%, 42%, 33.7%)
CIE-LABlab(67.47, -12.27, 36.09)
CIE-LCHlch(67.47, 38.12, 108.79°)
OKLaboklab(71.53% -0.0341 0.0874)
OKLCHoklch(71.53% 0.094 111.3)
XYZxyz(31.9100, 37.2576, 17.0634)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A962 #6662A9
analogous
#A98962 #A5A962 #82A962
triadic
#A5A962 #62A5A9 #A962A5
tetradic
#A5A962 #62A989 #6662A9 #A96282
square
#A5A962 #62A989 #6662A9 #A96282
split-complementary
#A5A962 #6282A9 #8962A9
monochromatic
#5B5D33 #828549 #A5A962 #BCBF8A #D2D4B1

Accessibility & contrast

On white

2.48
#A5A962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#A5A962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A962
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A962#FFFFFF#000000##000000
##A5A9621.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A35C
Deuteranopia (green-blind)
#B3A565
Tritanopia (blue-blind)
#ADA198
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5a962;
/* rgb */ color: rgb(165, 169, 98);
/* oklch */ color: oklch(71.5% 0.094 111.3);
Tailwind
colors: {
  custom: {
    50: '#c1c290',
    500: '#a5a962',
    950: '#000000',
  },
}
SCSS
$custom: #a5a962;
$custom-light: #c1c290;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a962",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 63.38,
    "s": 29.218,
    "l": 52.353
  },
  "oklch": {
    "l": 0.71527,
    "c": 0.09383,
    "h": 111.3
  },
  "luminance": 0.37257
}

Semantic roles & 50–950 ramp

primary
#A5A962
secondary
#A6A4C3
accent
#62C568
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A962

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

Preview Lab → · Contrast checker → · Palette generator →

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