#ACA342#ACA342

#ACA342 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.4% C 0.118 H 104.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#ACA342
RGBrgb(172, 163, 66)
HSLhsl(55, 45%, 47%)
HSVhsv(55, 62%, 67%)
CMYKcmyk(0%, 5.2%, 61.6%, 32.5%)
CIE-LABlab(66.03, -9.04, 50.18)
CIE-LCHlch(66.03, 50.99, 100.22°)
OKLaboklab(70.4% -0.0287 0.1149)
OKLCHoklch(70.4% 0.118 104)
XYZxyz(31.0949, 35.3595, 10.3403)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA342 #424BAC
analogous
#AC6E42 #ACA342 #80AC42
triadic
#ACA342 #42ACA3 #A342AC
tetradic
#ACA342 #42AC6E #424BAC #AC4280
square
#ACA342 #42AC6E #424BAC #AC4280
split-complementary
#ACA342 #4280AC #6E42AC
monochromatic
#544F20 #807931 #ACA342 #C5BD67 #D6D093

Accessibility & contrast

On white

2.60
#ACA342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#ACA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA342
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA342#FFFFFF#000000##000000
##ACA3421.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E37
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#B8998E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aca342;
/* rgb */ color: rgb(172, 163, 66);
/* oklch */ color: oklch(70.4% 0.118 104.0);
Tailwind
colors: {
  custom: {
    50: '#c7be7a',
    500: '#aca342',
    950: '#000000',
  },
}
SCSS
$custom: #aca342;
$custom-light: #c7be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#aca342",
  "rgb": {
    "r": 172,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 54.906,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70402,
    "c": 0.11843,
    "h": 104
  },
  "luminance": 0.35358
}

Semantic roles & 50–950 ramp

primary
#ACA342
secondary
#898EC1
accent
#5ED454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ACA342

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

Preview Lab → · Contrast checker → · Palette generator →

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