#A5A950#A5A950

#A5A950 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.3% C 0.113 H 111.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A5A950
RGBrgb(165, 169, 80)
HSLhsl(63, 36%, 49%)
HSVhsv(63, 53%, 66%)
CMYKcmyk(2.4%, 0%, 52.7%, 33.7%)
CIE-LABlab(67.24, -14.07, 44.84)
CIE-LCHlch(67.24, 46.99, 107.42°)
OKLaboklab(71.27% -0.041 0.1053)
OKLCHoklch(71.27% 0.113 111.3)
XYZxyz(31.1537, 36.9551, 13.0798)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A950 #5450A9
analogous
#A98150 #A5A950 #79A950
triadic
#A5A950 #50A5A9 #A950A5
tetradic
#A5A950 #50A981 #5450A9 #A95079
square
#A5A950 #50A981 #5450A9 #A95079
split-complementary
#A5A950 #5079A9 #8150A9
monochromatic
#545629 #7C7F3C #A5A950 #BCBF77 #D0D2A1

Accessibility & contrast

On white

2.50
#A5A950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#A5A950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A950
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A950#FFFFFF#000000##000000
##A5A9501.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A247
Deuteranopia (green-blind)
#B5A555
Tritanopia (blue-blind)
#AFA095
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5a950;
/* rgb */ color: rgb(165, 169, 80);
/* oklch */ color: oklch(71.3% 0.113 111.3);
Tailwind
colors: {
  custom: {
    50: '#c2c284',
    500: '#a5a950',
    950: '#000000',
  },
}
SCSS
$custom: #a5a950;
$custom-light: #c2c284;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a950",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 62.697,
    "s": 35.743,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71273,
    "c": 0.11298,
    "h": 111.3
  },
  "luminance": 0.36954
}

Semantic roles & 50–950 ramp

primary
#A5A950
secondary
#9795C0
accent
#5CCC61
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A5A950

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

Preview Lab → · Contrast checker → · Palette generator →

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