#ACAF2D#ACAF2D

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

Color values

HEX#ACAF2D
RGBrgb(172, 175, 45)
HSLhsl(61, 59%, 43%)
HSVhsv(61, 74%, 69%)
CMYKcmyk(1.7%, 0%, 74.3%, 31.4%)
CIE-LABlab(69.20, -16.46, 61.75)
CIE-LCHlch(69.20, 63.91, 104.93°)
OKLaboklab(72.88% -0.0518 0.1359)
OKLCHoklch(72.88% 0.145 110.9)
XYZxyz(32.8180, 39.6210, 8.4010)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAF2D #302DAF
analogous
#AF712D #ACAF2D #6BAF2D
triadic
#ACAF2D #2DACAF #AF2DAC
tetradic
#ACAF2D #2DAF71 #302DAF #AF2D6B
square
#ACAF2D #2DAF71 #302DAF #AF2D6B
split-complementary
#ACAF2D #2D6BAF #712DAF
monochromatic
#4C4E14 #7C7E20 #ACAF2D #CDD049 #DADD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACAF2D#FFFFFF#000000##000000
##ACAF2D1.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)
#BDA710
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#B8A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #acaf2d;
/* rgb */ color: rgb(172, 175, 45);
/* oklch */ color: oklch(72.9% 0.145 110.9);
Tailwind
colors: {
  custom: {
    50: '#c8c670',
    500: '#acaf2d',
    950: '#000000',
  },
}
SCSS
$custom: #acaf2d;
$custom-light: #c8c670;
$custom-dark: #000000;
JSON
{
  "hex": "#acaf2d",
  "rgb": {
    "r": 172,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 61.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72882,
    "c": 0.1454,
    "h": 110.9
  },
  "luminance": 0.3962
}

Semantic roles & 50–950 ramp

primary
#ACAF2D
secondary
#7573C5
accent
#46E249
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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