#A1AF41#A1AF41

#A1AF41 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.135 H 116.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A1AF41
RGBrgb(161, 175, 65)
HSLhsl(68, 46%, 47%)
HSVhsv(68, 63%, 69%)
CMYKcmyk(8%, 0%, 62.9%, 31.4%)
CIE-LABlab(68.47, -20.00, 53.00)
CIE-LCHlch(68.47, 56.65, 110.68°)
OKLaboklab(72.13% -0.0591 0.121)
OKLCHoklch(72.13% 0.135 116)
XYZxyz(30.9827, 38.6191, 10.8221)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AF41 #4F41AF
analogous
#AF8641 #A1AF41 #6AAF41
triadic
#A1AF41 #41A1AF #AF41A1
tetradic
#A1AF41 #41AF86 #4F41AF #AF416A
square
#A1AF41 #41AF86 #4F41AF #AF416A
split-complementary
#A1AF41 #416AAF #8641AF
monochromatic
#4F5620 #788230 #A1AF41 #BAC667 #CED793

Accessibility & contrast

On white

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

On black

8.72
#A1AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AF41
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AF41#FFFFFF#000000##000000
##A1AF411.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA633
Deuteranopia (green-blind)
#B9A848
Tritanopia (blue-blind)
#ABA698
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1af41;
/* rgb */ color: rgb(161, 175, 65);
/* oklch */ color: oklch(72.1% 0.135 116.0);
Tailwind
colors: {
  custom: {
    50: '#bfc67b',
    500: '#a1af41',
    950: '#000000',
  },
}
SCSS
$custom: #a1af41;
$custom-light: #bfc67b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1af41",
  "rgb": {
    "r": 161,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 67.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72134,
    "c": 0.13465,
    "h": 116
  },
  "luminance": 0.38619
}

Semantic roles & 50–950 ramp

primary
#A1AF41
secondary
#9189C2
accent
#52D563
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A1AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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