#ACAF32#ACAF32

#ACAF32 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.9% C 0.142 H 110.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#ACAF32
RGBrgb(172, 175, 50)
HSLhsl(61, 56%, 44%)
HSVhsv(61, 71%, 69%)
CMYKcmyk(1.7%, 0%, 71.4%, 31.4%)
CIE-LABlab(69.23, -16.22, 60.02)
CIE-LCHlch(69.23, 62.18, 105.13°)
OKLaboklab(72.91% -0.0506 0.1331)
OKLCHoklch(72.91% 0.142 110.8)
XYZxyz(32.9201, 39.6618, 8.9383)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAF32 #3532AF
analogous
#AF7432 #ACAF32 #6EAF32
triadic
#ACAF32 #32ACAF #AF32AC
tetradic
#ACAF32 #32AF74 #3532AF #AF326E
square
#ACAF32 #32AF74 #3532AF #AF326E
split-complementary
#ACAF32 #326EAF #7432AF
monochromatic
#4E5017 #7D7F24 #ACAF32 #CACD51 #D9DB81

Accessibility & contrast

On white

2.35
#ACAF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#ACAF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAF32
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAF32#FFFFFF#000000##000000
##ACAF321.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71C
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B8A497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #acaf32;
/* rgb */ color: rgb(172, 175, 50);
/* oklch */ color: oklch(72.9% 0.142 110.8);
Tailwind
colors: {
  custom: {
    50: '#c8c673',
    500: '#acaf32',
    950: '#000000',
  },
}
SCSS
$custom: #acaf32;
$custom-light: #c8c673;
$custom-dark: #000000;
JSON
{
  "hex": "#acaf32",
  "rgb": {
    "r": 172,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 61.44,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72915,
    "c": 0.14242,
    "h": 110.8
  },
  "luminance": 0.39661
}

Semantic roles & 50–950 ramp

primary
#ACAF32
secondary
#7B79C4
accent
#49DF4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACAF32

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

Preview Lab → · Contrast checker → · Palette generator →

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