#A5AF25#A5AF25

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

Color values

HEX#A5AF25
RGBrgb(165, 175, 37)
HSLhsl(64, 65%, 42%)
HSVhsv(64, 79%, 69%)
CMYKcmyk(5.7%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.60, -19.82, 63.53)
CIE-LCHlch(68.60, 66.55, 107.32°)
OKLaboklab(72.25% -0.0614 0.1385)
OKLCHoklch(72.25% 0.151 113.9)
XYZxyz(31.1819, 38.7935, 7.5952)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AF25 #2F25AF
analogous
#AF7425 #A5AF25 #60AF25
triadic
#A5AF25 #25A5AF #AF25A5
tetradic
#A5AF25 #25AF74 #2F25AF #AF2560
square
#A5AF25 #25AF74 #2F25AF #AF2560
split-complementary
#A5AF25 #2560AF #7425AF
monochromatic
#464A10 #757C1A #A5AF25 #CBD63C #D8E06E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AF25#FFFFFF#000000##000000
##A5AF251.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)
#BCA932
Tritanopia (blue-blind)
#B0A496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5af25;
/* rgb */ color: rgb(165, 175, 37);
/* oklch */ color: oklch(72.3% 0.151 113.9);
Tailwind
colors: {
  custom: {
    50: '#c3c66c',
    500: '#a5af25',
    950: '#000000',
  },
}
SCSS
$custom: #a5af25;
$custom-light: #c3c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5af25",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 64.348,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72254,
    "c": 0.15147,
    "h": 113.9
  },
  "luminance": 0.38793
}

Semantic roles & 50–950 ramp

primary
#A5AF25
secondary
#7069C7
accent
#40E84C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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