#ACAF2A#ACAF2A

#ACAF2A is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.9% C 0.147 H 110.9°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#ACAF2A
RGBrgb(172, 175, 42)
HSLhsl(61, 61%, 43%)
HSVhsv(61, 76%, 69%)
CMYKcmyk(1.7%, 0%, 76%, 31.4%)
CIE-LABlab(69.18, -16.59, 62.73)
CIE-LCHlch(69.18, 64.88, 104.82°)
OKLaboklab(72.86% -0.0524 0.1374)
OKLCHoklch(72.86% 0.147 110.9)
XYZxyz(32.7623, 39.5987, 8.1075)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAF2A #2D2AAF
analogous
#AF6F2A #ACAF2A #6AAF2A
triadic
#ACAF2A #2AACAF #AF2AAC
tetradic
#ACAF2A #2AAF6F #2D2AAF #AF2A6A
square
#ACAF2A #2AAF6F #2D2AAF #AF2A6A
split-complementary
#ACAF2A #2A6AAF #6F2AAF
monochromatic
#4B4C12 #7B7E1E #ACAF2A #CFD244 #DCDE75

Accessibility & contrast

On white

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

On black

8.92
#ACAF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAF2A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAF2A#FFFFFF#000000##000000
##ACAF2A1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA707
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#B8A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #acaf2a;
/* rgb */ color: rgb(172, 175, 42);
/* oklch */ color: oklch(72.9% 0.147 110.9);
Tailwind
colors: {
  custom: {
    50: '#c8c66f',
    500: '#acaf2a',
    950: '#000000',
  },
}
SCSS
$custom: #acaf2a;
$custom-light: #c8c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#acaf2a",
  "rgb": {
    "r": 172,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 61.353,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72864,
    "c": 0.14704,
    "h": 110.9
  },
  "luminance": 0.39598
}

Semantic roles & 50–950 ramp

primary
#ACAF2A
secondary
#716FC6
accent
#43E447
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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