#ACA731#ACA731

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

Color values

HEX#ACA731
RGBrgb(172, 167, 49)
HSLhsl(58, 56%, 43%)
HSVhsv(58, 72%, 67%)
CMYKcmyk(0%, 2.9%, 71.5%, 32.5%)
CIE-LABlab(67.00, -12.15, 58.23)
CIE-LCHlch(67.00, 59.48, 101.79°)
OKLaboklab(71.13% -0.0393 0.1291)
OKLCHoklch(71.13% 0.135 106.9)
XYZxyz(31.3876, 36.6309, 8.3222)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA731 #3136AC
analogous
#AC6931 #ACA731 #73AC31
triadic
#ACA731 #31ACA7 #A731AC
tetradic
#ACA731 #31AC69 #3136AC #AC3173
square
#ACA731 #31AC69 #3136AC #AC3173
split-complementary
#ACA731 #3173AC #6931AC
monochromatic
#4D4B16 #7C7923 #ACA731 #CCC74E #DAD67D

Accessibility & contrast

On white

2.52
#ACA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#ACA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA731
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA731#FFFFFF#000000##000000
##ACA7311.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11D
Deuteranopia (green-blind)
#B8A539
Tritanopia (blue-blind)
#B99C90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aca731;
/* rgb */ color: rgb(172, 167, 49);
/* oklch */ color: oklch(71.1% 0.135 106.9);
Tailwind
colors: {
  custom: {
    50: '#c8c071',
    500: '#aca731',
    950: '#000000',
  },
}
SCSS
$custom: #aca731;
$custom-light: #c8c071;
$custom-dark: #000000;
JSON
{
  "hex": "#aca731",
  "rgb": {
    "r": 172,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 57.561,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71134,
    "c": 0.13499,
    "h": 106.9
  },
  "luminance": 0.3663
}

Semantic roles & 50–950 ramp

primary
#ACA731
secondary
#7679C3
accent
#4FDF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACA731

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

Preview Lab → · Contrast checker → · Palette generator →

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