#ACA840#ACA840

#ACA840 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.125 H 107.1°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#ACA840
RGBrgb(172, 168, 64)
HSLhsl(58, 46%, 46%)
HSVhsv(58, 63%, 67%)
CMYKcmyk(0%, 2.3%, 62.8%, 32.5%)
CIE-LABlab(67.39, -11.80, 52.53)
CIE-LCHlch(67.39, 53.84, 102.66°)
OKLaboklab(71.48% -0.0367 0.1196)
OKLCHoklch(71.48% 0.125 107.1)
XYZxyz(31.9424, 37.1471, 10.3370)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA840 #4044AC
analogous
#AC7240 #ACA840 #7AAC40
triadic
#ACA840 #40ACA8 #A840AC
tetradic
#ACA840 #40AC72 #4044AC #AC407A
square
#ACA840 #40AC72 #4044AC #AC407A
split-complementary
#ACA840 #407AAC #7240AC
monochromatic
#53511F #7F7C2F #ACA840 #C5C264 #D6D391

Accessibility & contrast

On white

2.49
#ACA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#ACA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA840
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA840#FFFFFF#000000##000000
##ACA8401.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A233
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#B89E92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aca840;
/* rgb */ color: rgb(172, 168, 64);
/* oklch */ color: oklch(71.5% 0.125 107.1);
Tailwind
colors: {
  custom: {
    50: '#c7c17a',
    500: '#aca840',
    950: '#000000',
  },
}
SCSS
$custom: #aca840;
$custom-light: #c7c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#aca840",
  "rgb": {
    "r": 172,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 57.778,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71479,
    "c": 0.12512,
    "h": 107.1
  },
  "luminance": 0.37146
}

Semantic roles & 50–950 ramp

primary
#ACA840
secondary
#8789C1
accent
#57D552
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ACA840

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

Preview Lab → · Contrast checker → · Palette generator →

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