#ACAF40#ACAF40

#ACAF40 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.133 H 110.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#ACAF40
RGBrgb(172, 175, 64)
HSLhsl(62, 46%, 47%)
HSVhsv(62, 63%, 69%)
CMYKcmyk(1.7%, 0%, 63.4%, 31.4%)
CIE-LABlab(69.33, -15.42, 54.60)
CIE-LCHlch(69.33, 56.73, 105.77°)
OKLaboklab(73.03% -0.047 0.124)
OKLCHoklch(73.03% 0.133 110.7)
XYZxyz(33.2696, 39.8016, 10.7794)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAF40 #4340AF
analogous
#AF7B40 #ACAF40 #74AF40
triadic
#ACAF40 #40ACAF #AF40AC
tetradic
#ACAF40 #40AF7B #4340AF #AF4074
square
#ACAF40 #40AF7B #4340AF #AF4074
split-complementary
#ACAF40 #4074AF #7B40AF
monochromatic
#54551F #808230 #ACAF40 #C4C765 #D5D792

Accessibility & contrast

On white

2.34
#ACAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#ACAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAF40
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAF40#FFFFFF#000000##000000
##ACAF401.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA832
Deuteranopia (green-blind)
#BDAB47
Tritanopia (blue-blind)
#B7A598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #acaf40;
/* rgb */ color: rgb(172, 175, 64);
/* oklch */ color: oklch(73.0% 0.133 110.7);
Tailwind
colors: {
  custom: {
    50: '#c7c67a',
    500: '#acaf40',
    950: '#000000',
  },
}
SCSS
$custom: #acaf40;
$custom-light: #c7c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#acaf40",
  "rgb": {
    "r": 172,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 61.622,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73027,
    "c": 0.13256,
    "h": 110.7
  },
  "luminance": 0.39801
}

Semantic roles & 50–950 ramp

primary
#ACAF40
secondary
#8A88C3
accent
#52D655
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ACAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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