#ACA231#ACA231

#ACA231 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.130 H 104.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#ACA231
RGBrgb(172, 162, 49)
HSLhsl(55, 56%, 43%)
HSVhsv(55, 72%, 67%)
CMYKcmyk(0%, 5.8%, 71.5%, 32.5%)
CIE-LABlab(65.62, -9.54, 56.88)
CIE-LCHlch(65.62, 57.67, 99.52°)
OKLaboklab(70.04% -0.032 0.1263)
OKLCHoklch(70.04% 0.13 104.2)
XYZxyz(30.4892, 34.8343, 8.0228)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA231 #313BAC
analogous
#AC6431 #ACA231 #78AC31
triadic
#ACA231 #31ACA2 #A231AC
tetradic
#ACA231 #31AC64 #313BAC #AC3178
square
#ACA231 #31AC64 #313BAC #AC3178
split-complementary
#ACA231 #3178AC #6431AC
monochromatic
#4D4816 #7C7523 #ACA231 #CCC24E #DAD37D

Accessibility & contrast

On white

2.64
#ACA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#ACA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA231
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA231#FFFFFF#000000##000000
##ACA2311.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#B9978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aca231;
/* rgb */ color: rgb(172, 162, 49);
/* oklch */ color: oklch(70.0% 0.130 104.2);
Tailwind
colors: {
  custom: {
    50: '#c8bd71',
    500: '#aca231',
    950: '#000000',
  },
}
SCSS
$custom: #aca231;
$custom-light: #c8bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#aca231",
  "rgb": {
    "r": 172,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 55.122,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70035,
    "c": 0.13026,
    "h": 104.2
  },
  "luminance": 0.34833
}

Semantic roles & 50–950 ramp

primary
#ACA231
secondary
#767CC3
accent
#55DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACA231

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

Preview Lab → · Contrast checker → · Palette generator →

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