#ACA538#ACA538

#ACA538 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.7% C 0.128 H 105.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#ACA538
RGBrgb(172, 165, 56)
HSLhsl(56, 51%, 45%)
HSVhsv(56, 67%, 67%)
CMYKcmyk(0%, 4.1%, 67.4%, 32.5%)
CIE-LABlab(66.50, -10.73, 54.98)
CIE-LCHlch(66.50, 56.02, 101.04°)
OKLaboklab(70.75% -0.0346 0.1235)
OKLCHoklch(70.75% 0.128 105.6)
XYZxyz(31.1834, 35.9676, 9.0404)
Luminance0.3597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA538 #383FAC
analogous
#AC6B38 #ACA538 #79AC38
triadic
#ACA538 #38ACA5 #A538AC
tetradic
#ACA538 #38AC6B #383FAC #AC3879
square
#ACA538 #38AC6B #383FAC #AC3879
split-complementary
#ACA538 #3879AC #6B38AC
monochromatic
#504C1A #7E7929 #ACA538 #C9C258 #D8D387

Accessibility & contrast

On white

2.56
#ACA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#ACA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA538
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA538#FFFFFF#000000##000000
##ACA5381.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#B89A8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aca538;
/* rgb */ color: rgb(172, 165, 56);
/* oklch */ color: oklch(70.7% 0.128 105.6);
Tailwind
colors: {
  custom: {
    50: '#c8bf75',
    500: '#aca538',
    950: '#000000',
  },
}
SCSS
$custom: #aca538;
$custom-light: #c8bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#aca538",
  "rgb": {
    "r": 172,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 56.379,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70748,
    "c": 0.12826,
    "h": 105.6
  },
  "luminance": 0.35966
}

Semantic roles & 50–950 ramp

primary
#ACA538
secondary
#7E82C2
accent
#56DA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ACA538

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

Preview Lab → · Contrast checker → · Palette generator →

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