#ACB31A#ACB31A

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

Color values

HEX#ACB31A
RGBrgb(172, 179, 26)
HSLhsl(63, 75%, 40%)
HSVhsv(63, 85%, 70%)
CMYKcmyk(3.9%, 0%, 85.5%, 29.8%)
CIE-LABlab(70.24, -19.15, 67.99)
CIE-LCHlch(70.24, 70.63, 105.73°)
OKLaboklab(73.69% -0.0606 0.1459)
OKLCHoklch(73.69% 0.158 112.6)
XYZxyz(33.3210, 41.0863, 7.1523)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB31A #211AB3
analogous
#B36D1A #ACB31A #60B31A
triadic
#ACB31A #1AACB3 #B31AAC
tetradic
#ACB31A #1AB36D #211AB3 #B31A60
square
#ACB31A #1AB36D #211AB3 #B31A60
split-complementary
#ACB31A #1A60B3 #6D1AB3
monochromatic
#45480A #797E12 #ACB31A #D8E02A #E2E860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACB31A#FFFFFF#000000##000000
##ACB31A1.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)
#C2AD2B
Tritanopia (blue-blind)
#B8A799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #acb31a;
/* rgb */ color: rgb(172, 179, 26);
/* oklch */ color: oklch(73.7% 0.158 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9c969',
    500: '#acb31a',
    950: '#000000',
  },
}
SCSS
$custom: #acb31a;
$custom-light: #c9c969;
$custom-dark: #000000;
JSON
{
  "hex": "#acb31a",
  "rgb": {
    "r": 172,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 62.745,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.73687,
    "c": 0.15798,
    "h": 112.6
  },
  "luminance": 0.41085
}

Semantic roles & 50–950 ramp

primary
#ACB31A
secondary
#625DCC
accent
#37F13F
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ACB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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