#A1AF29#A1AF29

#A1AF29 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.0% C 0.151 H 115.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#A1AF29
RGBrgb(161, 175, 41)
HSLhsl(66, 62%, 42%)
HSVhsv(66, 77%, 69%)
CMYKcmyk(8%, 0%, 76.6%, 31.4%)
CIE-LABlab(68.31, -21.37, 61.93)
CIE-LCHlch(68.31, 65.51, 109.04°)
OKLaboklab(71.95% -0.0652 0.1359)
OKLCHoklch(71.95% 0.151 115.6)
XYZxyz(30.4290, 38.3976, 7.9059)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AF29 #3729AF
analogous
#AF7A29 #A1AF29 #5EAF29
triadic
#A1AF29 #29A1AF #AF29A1
tetradic
#A1AF29 #29AF7A #3729AF #AF295E
square
#A1AF29 #29AF7A #3729AF #AF295E
split-complementary
#A1AF29 #295EAF #7A29AF
monochromatic
#464C12 #737D1D #A1AF29 #C4D342 #D3DE74

Accessibility & contrast

On white

2.42
#A1AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#A1AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AF29
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AF29#FFFFFF#000000##000000
##A1AF291.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA604
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#ACA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1af29;
/* rgb */ color: rgb(161, 175, 41);
/* oklch */ color: oklch(72.0% 0.151 115.6);
Tailwind
colors: {
  custom: {
    50: '#c0c66e',
    500: '#a1af29',
    950: '#000000',
  },
}
SCSS
$custom: #a1af29;
$custom-light: #c0c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1af29",
  "rgb": {
    "r": 161,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 66.269,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71952,
    "c": 0.15073,
    "h": 115.6
  },
  "luminance": 0.38397
}

Semantic roles & 50–950 ramp

primary
#A1AF29
secondary
#776EC6
accent
#43E554
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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