#ACA71F#ACA71F

#ACA71F is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.0% C 0.145 H 107.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#ACA71F
RGBrgb(172, 167, 31)
HSLhsl(58, 69%, 40%)
HSVhsv(58, 82%, 67%)
CMYKcmyk(0%, 2.9%, 82%, 32.5%)
CIE-LABlab(66.91, -12.88, 63.96)
CIE-LCHlch(66.91, 65.25, 101.39°)
OKLaboklab(71.03% -0.043 0.138)
OKLCHoklch(71.03% 0.145 107.3)
XYZxyz(31.0806, 36.5081, 6.7057)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA71F #1F24AC
analogous
#AC601F #ACA71F #6BAC1F
triadic
#ACA71F #1FACA7 #A71FAC
tetradic
#ACA71F #1FAC60 #1F24AC #AC1F6B
square
#ACA71F #1FAC60 #1F24AC #AC1F6B
split-complementary
#ACA71F #1F6BAC #601FAC
monochromatic
#44420C #787516 #ACA71F #D9D32F #E3DE63

Accessibility & contrast

On white

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

On black

8.30
#ACA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA71F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA71F#FFFFFF#000000##000000
##ACA71F1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B8A52C
Tritanopia (blue-blind)
#B99B8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aca71f;
/* rgb */ color: rgb(172, 167, 31);
/* oklch */ color: oklch(71.0% 0.145 107.3);
Tailwind
colors: {
  custom: {
    50: '#c9c069',
    500: '#aca71f',
    950: '#000000',
  },
}
SCSS
$custom: #aca71f;
$custom-light: #c9c069;
$custom-dark: #000000;
JSON
{
  "hex": "#aca71f",
  "rgb": {
    "r": 172,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 57.872,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.7103,
    "c": 0.14453,
    "h": 107.3
  },
  "luminance": 0.36507
}

Semantic roles & 50–950 ramp

primary
#ACA71F
secondary
#5F63C8
accent
#42EC3C
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #ACA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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