#ACA728#ACA728

#ACA728 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.1% C 0.140 H 107.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#ACA728
RGBrgb(172, 167, 40)
HSLhsl(58, 62%, 42%)
HSVhsv(58, 77%, 67%)
CMYKcmyk(0%, 2.9%, 76.7%, 32.5%)
CIE-LABlab(66.95, -12.56, 61.32)
CIE-LCHlch(66.95, 62.59, 101.58°)
OKLaboklab(71.08% -0.0413 0.134)
OKLCHoklch(71.08% 0.14 107.1)
XYZxyz(31.2162, 36.5624, 7.4200)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA728 #282DAC
analogous
#AC6528 #ACA728 #6FAC28
triadic
#ACA728 #28ACA7 #A728AC
tetradic
#ACA728 #28AC65 #282DAC #AC286F
square
#ACA728 #28AC65 #282DAC #AC286F
split-complementary
#ACA728 #286FAC #6528AC
monochromatic
#494711 #7A771C #ACA728 #D2CD3F #DEDA71

Accessibility & contrast

On white

2.53
#ACA728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#ACA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA728
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA728#FFFFFF#000000##000000
##ACA7281.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A007
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#B99C8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aca728;
/* rgb */ color: rgb(172, 167, 40);
/* oklch */ color: oklch(71.1% 0.140 107.1);
Tailwind
colors: {
  custom: {
    50: '#c8c06d',
    500: '#aca728',
    950: '#000000',
  },
}
SCSS
$custom: #aca728;
$custom-light: #c8c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#aca728",
  "rgb": {
    "r": 172,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 57.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71076,
    "c": 0.14026,
    "h": 107.1
  },
  "luminance": 0.36561
}

Semantic roles & 50–950 ramp

primary
#ACA728
secondary
#6B6EC5
accent
#49E542
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ACA728

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

Preview Lab → · Contrast checker → · Palette generator →

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