#ACAF22#ACAF22

#ACAF22 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.151 H 110.9°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#ACAF22
RGBrgb(172, 175, 34)
HSLhsl(61, 67%, 41%)
HSVhsv(61, 81%, 69%)
CMYKcmyk(1.7%, 0%, 80.6%, 31.4%)
CIE-LABlab(69.15, -16.89, 65.08)
CIE-LCHlch(69.15, 67.24, 104.55°)
OKLaboklab(72.82% -0.0539 0.141)
OKLCHoklch(72.82% 0.151 110.9)
XYZxyz(32.6332, 39.5470, 7.4274)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAF22 #2522AF
analogous
#AF6B22 #ACAF22 #65AF22
triadic
#ACAF22 #22ACAF #AF22AC
tetradic
#ACAF22 #22AF6B #2522AF #AF2265
square
#ACAF22 #22AF6B #2522AF #AF2265
split-complementary
#ACAF22 #2265AF #6B22AF
monochromatic
#47490E #7A7C18 #ACAF22 #D5D836 #DFE269

Accessibility & contrast

On white

2.36
#ACAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#ACAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAF22
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAF22#FFFFFF#000000##000000
##ACAF221.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acaf22;
/* rgb */ color: rgb(172, 175, 34);
/* oklch */ color: oklch(72.8% 0.151 110.9);
Tailwind
colors: {
  custom: {
    50: '#c9c66b',
    500: '#acaf22',
    950: '#000000',
  },
}
SCSS
$custom: #acaf22;
$custom-light: #c9c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#acaf22",
  "rgb": {
    "r": 172,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 61.277,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72823,
    "c": 0.15092,
    "h": 110.9
  },
  "luminance": 0.39546
}

Semantic roles & 50–950 ramp

primary
#ACAF22
secondary
#6765C8
accent
#3DEA41
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ACAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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