#ACB321#ACB321

#ACB321 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.155 H 112.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#ACB321
RGBrgb(172, 179, 33)
HSLhsl(63, 69%, 42%)
HSVhsv(63, 82%, 70%)
CMYKcmyk(3.9%, 0%, 81.6%, 29.8%)
CIE-LABlab(70.26, -18.95, 66.32)
CIE-LCHlch(70.26, 68.97, 105.94°)
OKLaboklab(73.72% -0.0596 0.1435)
OKLCHoklch(73.72% 0.155 112.6)
XYZxyz(33.4090, 41.1215, 7.6159)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB321 #2821B3
analogous
#B37121 #ACB321 #63B321
triadic
#ACB321 #21ACB3 #B321AC
tetradic
#ACB321 #21B371 #2821B3 #B32163
square
#ACB321 #21B371 #2821B3 #B32163
split-complementary
#ACB321 #2163B3 #7121B3
monochromatic
#494C0E #7A7F17 #ACB321 #D2DA37 #DEE46B

Accessibility & contrast

On white

2.28
#ACB321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#ACB321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB321
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB321#FFFFFF#000000##000000
##ACB3211.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AD30
Tritanopia (blue-blind)
#B8A899
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #acb321;
/* rgb */ color: rgb(172, 179, 33);
/* oklch */ color: oklch(73.7% 0.155 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9c96b',
    500: '#acb321',
    950: '#000000',
  },
}
SCSS
$custom: #acb321;
$custom-light: #c9c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#acb321",
  "rgb": {
    "r": 172,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 62.877,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.73715,
    "c": 0.15536,
    "h": 112.6
  },
  "luminance": 0.41121
}

Semantic roles & 50–950 ramp

primary
#ACB321
secondary
#6B66CA
accent
#3CEC45
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #ACB321

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

Preview Lab → · Contrast checker → · Palette generator →

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