#A5AA24#A5AA24

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

Color values

HEX#A5AA24
RGBrgb(165, 170, 36)
HSLhsl(62, 65%, 40%)
HSVhsv(62, 79%, 67%)
CMYKcmyk(2.9%, 0%, 78.8%, 33.3%)
CIE-LABlab(67.18, -17.32, 62.56)
CIE-LCHlch(67.18, 64.92, 105.48°)
OKLaboklab(71.12% -0.0546 0.1362)
OKLCHoklch(71.12% 0.147 111.8)
XYZxyz(30.2113, 36.8769, 7.1952)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA24 #2924AA
analogous
#AA6C24 #A5AA24 #62AA24
triadic
#A5AA24 #24A5AA #AA24A5
tetradic
#A5AA24 #24AA6C #2924AA #AA2462
square
#A5AA24 #24AA6C #2924AA #AA2462
split-complementary
#A5AA24 #2462AA #6C24AA
monochromatic
#43450F #747719 #A5AA24 #CFD537 #DBDF69

Accessibility & contrast

On white

2.51
#A5AA24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#A5AA24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AA24
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AA24#FFFFFF#000000##000000
##A5AA241.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#B19F91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa24;
/* rgb */ color: rgb(165, 170, 36);
/* oklch */ color: oklch(71.1% 0.147 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c36b',
    500: '#a5aa24',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa24;
$custom-light: #c3c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa24",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 36
  },
  "hsl": {
    "h": 62.239,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.71117,
    "c": 0.14674,
    "h": 111.8
  },
  "luminance": 0.36876
}

Semantic roles & 50–950 ramp

primary
#A5AA24
secondary
#6865C5
accent
#40E846
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5AA24

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

Preview Lab → · Contrast checker → · Palette generator →

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