#A5AF24#A5AF24

#A5AF24 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.152 H 113.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A5AF24
RGBrgb(165, 175, 36)
HSLhsl(64, 66%, 41%)
HSVhsv(64, 79%, 69%)
CMYKcmyk(5.7%, 0%, 79.4%, 31.4%)
CIE-LABlab(68.60, -19.85, 63.82)
CIE-LCHlch(68.60, 66.84, 107.28°)
OKLaboklab(72.25% -0.0616 0.1389)
OKLCHoklch(72.25% 0.152 113.9)
XYZxyz(31.1664, 38.7873, 7.5136)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AF24 #2E24AF
analogous
#AF7424 #A5AF24 #5FAF24
triadic
#A5AF24 #24A5AF #AF24A5
tetradic
#A5AF24 #24AF74 #2E24AF #AF245F
square
#A5AF24 #24AF74 #2E24AF #AF245F
split-complementary
#A5AF24 #245FAF #7424AF
monochromatic
#45490F #757C1A #A5AF24 #CBD63A #D8E16D

Accessibility & contrast

On white

2.40
#A5AF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#A5AF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AF24
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AF24#FFFFFF#000000##000000
##A5AF241.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA931
Tritanopia (blue-blind)
#B0A496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5af24;
/* rgb */ color: rgb(165, 175, 36);
/* oklch */ color: oklch(72.2% 0.152 113.9);
Tailwind
colors: {
  custom: {
    50: '#c3c66c',
    500: '#a5af24',
    950: '#000000',
  },
}
SCSS
$custom: #a5af24;
$custom-light: #c3c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5af24",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 64.317,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72249,
    "c": 0.15194,
    "h": 113.9
  },
  "luminance": 0.38787
}

Semantic roles & 50–950 ramp

primary
#A5AF24
secondary
#6F68C7
accent
#3FE94B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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