#ACB21A#ACB21A

#ACB21A is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.5% C 0.157 H 112.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#ACB21A
RGBrgb(172, 178, 26)
HSLhsl(62, 75%, 40%)
HSVhsv(62, 85%, 70%)
CMYKcmyk(3.4%, 0%, 85.4%, 30.2%)
CIE-LABlab(69.96, -18.65, 67.75)
CIE-LCHlch(69.96, 70.27, 105.39°)
OKLaboklab(73.46% -0.0593 0.1454)
OKLCHoklch(73.46% 0.157 112.2)
XYZxyz(33.1213, 40.6869, 7.0857)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB21A #201AB2
analogous
#B26C1A #ACB21A #60B21A
triadic
#ACB21A #1AACB2 #B21AAC
tetradic
#ACB21A #1AB26C #201AB2 #B21A60
square
#ACB21A #1AB26C #201AB2 #B21A60
split-complementary
#ACB21A #1A60B2 #6C1AB2
monochromatic
#45470A #787D12 #ACB21A #D9E029 #E2E85F

Accessibility & contrast

On white

2.30
#ACB21A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#ACB21A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB21A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB21A#FFFFFF#000000##000000
##ACB21A1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C1AD2B
Tritanopia (blue-blind)
#B8A698
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #acb21a;
/* rgb */ color: rgb(172, 178, 26);
/* oklch */ color: oklch(73.5% 0.157 112.2);
Tailwind
colors: {
  custom: {
    50: '#c9c869',
    500: '#acb21a',
    950: '#000000',
  },
}
SCSS
$custom: #acb21a;
$custom-light: #c9c869;
$custom-dark: #000000;
JSON
{
  "hex": "#acb21a",
  "rgb": {
    "r": 172,
    "g": 178,
    "b": 26
  },
  "hsl": {
    "h": 62.368,
    "s": 74.51,
    "l": 40
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.15699,
    "h": 112.2
  },
  "luminance": 0.40686
}

Semantic roles & 50–950 ramp

primary
#ACB21A
secondary
#605CCC
accent
#37F13E
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ACB21A

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

Preview Lab → · Contrast checker → · Palette generator →

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