#A8AF29#A8AF29

#A8AF29 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.149 H 112.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A8AF29
RGBrgb(168, 175, 41)
HSLhsl(63, 62%, 42%)
HSVhsv(63, 77%, 69%)
CMYKcmyk(4%, 0%, 76.6%, 31.4%)
CIE-LABlab(68.86, -18.36, 62.63)
CIE-LCHlch(68.86, 65.26, 106.34°)
OKLaboklab(72.52% -0.0572 0.1372)
OKLCHoklch(72.52% 0.149 112.6)
XYZxyz(31.8797, 39.1456, 7.9739)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF29 #3029AF
analogous
#AF7329 #A8AF29 #65AF29
triadic
#A8AF29 #29A8AF #AF29A8
tetradic
#A8AF29 #29AF73 #3029AF #AF2965
square
#A8AF29 #29AF73 #3029AF #AF2965
split-complementary
#A8AF29 #2965AF #7329AF
monochromatic
#494C12 #787D1D #A8AF29 #CBD342 #D9DE74

Accessibility & contrast

On white

2.38
#A8AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A8AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF29
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF29#FFFFFF#000000##000000
##A8AF291.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA704
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8af29;
/* rgb */ color: rgb(168, 175, 41);
/* oklch */ color: oklch(72.5% 0.149 112.6);
Tailwind
colors: {
  custom: {
    50: '#c5c66e',
    500: '#a8af29',
    950: '#000000',
  },
}
SCSS
$custom: #a8af29;
$custom-light: #c5c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af29",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 63.134,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72523,
    "c": 0.1486,
    "h": 112.6
  },
  "luminance": 0.39145
}

Semantic roles & 50–950 ramp

primary
#A8AF29
secondary
#736EC6
accent
#43E54B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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