#A5AF29#A5AF29

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

Color values

HEX#A5AF29
RGBrgb(165, 175, 41)
HSLhsl(64, 62%, 42%)
HSVhsv(64, 77%, 69%)
CMYKcmyk(5.7%, 0%, 76.6%, 31.4%)
CIE-LABlab(68.62, -19.65, 62.33)
CIE-LCHlch(68.62, 65.35, 107.50°)
OKLaboklab(72.28% -0.0606 0.1366)
OKLCHoklch(72.28% 0.149 113.9)
XYZxyz(31.2482, 38.8200, 7.9443)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AF29 #3329AF
analogous
#AF7629 #A5AF29 #62AF29
triadic
#A5AF29 #29A5AF #AF29A5
tetradic
#A5AF29 #29AF76 #3329AF #AF2962
square
#A5AF29 #29AF76 #3329AF #AF2962
split-complementary
#A5AF29 #2962AF #7629AF
monochromatic
#474C12 #767D1D #A5AF29 #C8D342 #D6DE74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AF29#FFFFFF#000000##000000
##A5AF291.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)
#BCA604
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#B0A496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5af29;
/* rgb */ color: rgb(165, 175, 41);
/* oklch */ color: oklch(72.3% 0.149 113.9);
Tailwind
colors: {
  custom: {
    50: '#c3c66e',
    500: '#a5af29',
    950: '#000000',
  },
}
SCSS
$custom: #a5af29;
$custom-light: #c3c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5af29",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 64.478,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72276,
    "c": 0.14947,
    "h": 113.9
  },
  "luminance": 0.38819
}

Semantic roles & 50–950 ramp

primary
#A5AF29
secondary
#756EC6
accent
#43E54F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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