#A1AF24#A1AF24

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

Color values

HEX#A1AF24
RGBrgb(161, 175, 36)
HSLhsl(66, 66%, 41%)
HSVhsv(66, 79%, 69%)
CMYKcmyk(8%, 0%, 79.4%, 31.4%)
CIE-LABlab(68.29, -21.57, 63.43)
CIE-LCHlch(68.29, 67.00, 108.78°)
OKLaboklab(71.93% -0.0661 0.1382)
OKLCHoklch(71.93% 0.153 115.6)
XYZxyz(30.3472, 38.3649, 7.4752)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AF24 #3224AF
analogous
#AF7824 #A1AF24 #5CAF24
triadic
#A1AF24 #24A1AF #AF24A1
tetradic
#A1AF24 #24AF78 #3224AF #AF245C
square
#A1AF24 #24AF78 #3224AF #AF245C
split-complementary
#A1AF24 #245CAF #7824AF
monochromatic
#44490F #727C1A #A1AF24 #C7D63A #D5E16D

Accessibility & contrast

On white

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

On black

8.67
#A1AF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AF24
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AF24#FFFFFF#000000##000000
##A1AF241.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA731
Tritanopia (blue-blind)
#ACA496
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a1af24;
/* rgb */ color: rgb(161, 175, 36);
/* oklch */ color: oklch(71.9% 0.153 115.6);
Tailwind
colors: {
  custom: {
    50: '#c1c66c',
    500: '#a1af24',
    950: '#000000',
  },
}
SCSS
$custom: #a1af24;
$custom-light: #c1c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1af24",
  "rgb": {
    "r": 161,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 66.043,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71925,
    "c": 0.15323,
    "h": 115.6
  },
  "luminance": 0.38364
}

Semantic roles & 50–950 ramp

primary
#A1AF24
secondary
#7168C7
accent
#3FE950
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A1AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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