#A1AF33#A1AF33

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

Color values

HEX#A1AF33
RGBrgb(161, 175, 51)
HSLhsl(67, 55%, 44%)
HSVhsv(67, 71%, 69%)
CMYKcmyk(8%, 0%, 70.9%, 31.4%)
CIE-LABlab(68.37, -20.88, 58.52)
CIE-LCHlch(68.37, 62.14, 109.64°)
OKLaboklab(72.02% -0.0629 0.1305)
OKLCHoklch(72.02% 0.145 115.7)
XYZxyz(30.6262, 38.4765, 8.9447)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AF33 #4133AF
analogous
#AF7F33 #A1AF33 #63AF33
triadic
#A1AF33 #33A1AF #AF33A1
tetradic
#A1AF33 #33AF7F #4133AF #AF3363
square
#A1AF33 #33AF7F #4133AF #AF3363
split-complementary
#A1AF33 #3363AF #7F33AF
monochromatic
#4A5017 #758025 #A1AF33 #BFCD52 #D1DB82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AF33#FFFFFF#000000##000000
##A1AF331.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61E
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#ABA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1af33;
/* rgb */ color: rgb(161, 175, 51);
/* oklch */ color: oklch(72.0% 0.145 115.7);
Tailwind
colors: {
  custom: {
    50: '#c0c673',
    500: '#a1af33',
    950: '#000000',
  },
}
SCSS
$custom: #a1af33;
$custom-light: #c0c673;
$custom-dark: #000000;
JSON
{
  "hex": "#a1af33",
  "rgb": {
    "r": 161,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 66.774,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72017,
    "c": 0.14484,
    "h": 115.7
  },
  "luminance": 0.38476
}

Semantic roles & 50–950 ramp

primary
#A1AF33
secondary
#827AC4
accent
#4ADE5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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