#ACA02B#ACA02B

#ACA02B is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.6% C 0.132 H 103.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#ACA02B
RGBrgb(172, 160, 43)
HSLhsl(54, 60%, 42%)
HSVhsv(54, 75%, 67%)
CMYKcmyk(0%, 7%, 75%, 32.5%)
CIE-LABlab(65.03, -8.76, 58.52)
CIE-LCHlch(65.03, 59.18, 98.52°)
OKLaboklab(69.56% -0.0304 0.1286)
OKLCHoklch(69.56% 0.132 103.3)
XYZxyz(30.0214, 34.0880, 7.2833)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA02B #2B37AC
analogous
#AC602B #ACA02B #77AC2B
triadic
#ACA02B #2BACA0 #A02BAC
tetradic
#ACA02B #2BAC60 #2B37AC #AC2B77
square
#ACA02B #2BAC60 #2B37AC #AC2B77
split-complementary
#ACA02B #2B77AC #602BAC
monochromatic
#4A4513 #7B721F #ACA02B #D0C344 #DCD375

Accessibility & contrast

On white

2.69
#ACA02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#ACA02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA02B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA02B#FFFFFF#000000##000000
##ACA02B1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B14
Deuteranopia (green-blind)
#B3A033
Tritanopia (blue-blind)
#B9958A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aca02b;
/* rgb */ color: rgb(172, 160, 43);
/* oklch */ color: oklch(69.6% 0.132 103.3);
Tailwind
colors: {
  custom: {
    50: '#c8bb6d',
    500: '#aca02b',
    950: '#000000',
  },
}
SCSS
$custom: #aca02b;
$custom-light: #c8bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aca02b",
  "rgb": {
    "r": 172,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 54.419,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69556,
    "c": 0.13219,
    "h": 103.3
  },
  "luminance": 0.34087
}

Semantic roles & 50–950 ramp

primary
#ACA02B
secondary
#6F77C4
accent
#53E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #ACA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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