#A2AF29#A2AF29

#A2AF29 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.0% C 0.150 H 115.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#A2AF29
RGBrgb(162, 175, 41)
HSLhsl(66, 62%, 42%)
HSVhsv(66, 77%, 69%)
CMYKcmyk(7.4%, 0%, 76.6%, 31.4%)
CIE-LABlab(68.39, -20.94, 62.03)
CIE-LCHlch(68.39, 65.47, 108.66°)
OKLaboklab(72.03% -0.064 0.1361)
OKLCHoklch(72.03% 0.15 115.2)
XYZxyz(30.6314, 38.5020, 7.9154)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF29 #3629AF
analogous
#AF7929 #A2AF29 #5FAF29
triadic
#A2AF29 #29A2AF #AF29A2
tetradic
#A2AF29 #29AF79 #3629AF #AF295F
square
#A2AF29 #29AF79 #3629AF #AF295F
split-complementary
#A2AF29 #295FAF #7929AF
monochromatic
#464C12 #747D1D #A2AF29 #C5D342 #D4DE74

Accessibility & contrast

On white

2.41
#A2AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#A2AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF29
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF29#FFFFFF#000000##000000
##A2AF291.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2af29;
/* rgb */ color: rgb(162, 175, 41);
/* oklch */ color: oklch(72.0% 0.150 115.2);
Tailwind
colors: {
  custom: {
    50: '#c1c66e',
    500: '#a2af29',
    950: '#000000',
  },
}
SCSS
$custom: #a2af29;
$custom-light: #c1c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af29",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 65.821,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72032,
    "c": 0.1504,
    "h": 115.2
  },
  "luminance": 0.38501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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