#A5AA2C#A5AA2C

#A5AA2C is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.2% C 0.143 H 111.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A5AA2C
RGBrgb(165, 170, 44)
HSLhsl(62, 59%, 42%)
HSVhsv(62, 74%, 67%)
CMYKcmyk(2.9%, 0%, 74.1%, 33.3%)
CIE-LABlab(67.23, -16.99, 60.03)
CIE-LCHlch(67.23, 62.39, 105.80°)
OKLaboklab(71.16% -0.053 0.1323)
OKLCHoklch(71.16% 0.143 111.8)
XYZxyz(30.3474, 36.9314, 7.9122)
Luminance0.3693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA2C #312CAA
analogous
#AA702C #A5AA2C #66AA2C
triadic
#A5AA2C #2CA5AA #AA2CA5
tetradic
#A5AA2C #2CAA70 #312CAA #AA2C66
square
#A5AA2C #2CAA70 #312CAA #AA2C66
split-complementary
#A5AA2C #2C66AA #702CAA
monochromatic
#474913 #76791F #A5AA2C #C9CF44 #D7DB75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AA2C#FFFFFF#000000##000000
##A5AA2C1.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)
#B7A211
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#B19F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa2c;
/* rgb */ color: rgb(165, 170, 44);
/* oklch */ color: oklch(71.2% 0.143 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c36f',
    500: '#a5aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa2c;
$custom-light: #c3c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa2c",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 62.381,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71163,
    "c": 0.14251,
    "h": 111.8
  },
  "luminance": 0.36931
}

Semantic roles & 50–950 ramp

primary
#A5AA2C
secondary
#726FC3
accent
#46E24C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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