#ACAF2F#ACAF2F

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

Color values

HEX#ACAF2F
RGBrgb(172, 175, 47)
HSLhsl(61, 58%, 44%)
HSVhsv(61, 73%, 69%)
CMYKcmyk(1.7%, 0%, 73.1%, 31.4%)
CIE-LABlab(69.21, -16.37, 61.07)
CIE-LCHlch(69.21, 63.23, 105.00°)
OKLaboklab(72.9% -0.0513 0.1348)
OKLCHoklch(72.9% 0.144 110.8)
XYZxyz(32.8574, 39.6367, 8.6086)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAF2F #322FAF
analogous
#AF722F #ACAF2F #6CAF2F
triadic
#ACAF2F #2FACAF #AF2FAC
tetradic
#ACAF2F #2FAF72 #322FAF #AF2F6C
square
#ACAF2F #2FAF72 #322FAF #AF2F6C
split-complementary
#ACAF2F #2F6CAF #722FAF
monochromatic
#4D4F15 #7D7F22 #ACAF2F #CCCF4C #DADC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACAF2F#FFFFFF#000000##000000
##ACAF2F1.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)
#BDA715
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#B8A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #acaf2f;
/* rgb */ color: rgb(172, 175, 47);
/* oklch */ color: oklch(72.9% 0.144 110.8);
Tailwind
colors: {
  custom: {
    50: '#c8c671',
    500: '#acaf2f',
    950: '#000000',
  },
}
SCSS
$custom: #acaf2f;
$custom-light: #c8c671;
$custom-dark: #000000;
JSON
{
  "hex": "#acaf2f",
  "rgb": {
    "r": 172,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 61.406,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72895,
    "c": 0.14425,
    "h": 110.8
  },
  "luminance": 0.39636
}

Semantic roles & 50–950 ramp

primary
#ACAF2F
secondary
#7775C4
accent
#47E14B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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