#ACB31D#ACB31D

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

Color values

HEX#ACB31D
RGBrgb(172, 179, 29)
HSLhsl(63, 72%, 41%)
HSVhsv(63, 84%, 70%)
CMYKcmyk(3.9%, 0%, 83.8%, 29.8%)
CIE-LABlab(70.25, -19.07, 67.31)
CIE-LCHlch(70.25, 69.96, 105.82°)
OKLaboklab(73.7% -0.0602 0.1449)
OKLCHoklch(73.7% 0.157 112.6)
XYZxyz(33.3563, 41.1004, 7.3382)
Luminance0.4110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB31D #241DB3
analogous
#B36F1D #ACB31D #61B31D
triadic
#ACB31D #1DACB3 #B31DAC
tetradic
#ACB31D #1DB36F #241DB3 #B31D61
square
#ACB31D #1DB36F #241DB3 #B31D61
split-complementary
#ACB31D #1D61B3 #6F1DB3
monochromatic
#474A0C #797E14 #ACB31D #D5DD30 #E0E664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACB31D#FFFFFF#000000##000000
##ACB31D1.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)
#C2AD2D
Tritanopia (blue-blind)
#B8A899
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #acb31d;
/* rgb */ color: rgb(172, 179, 29);
/* oklch */ color: oklch(73.7% 0.157 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9c96a',
    500: '#acb31d',
    950: '#000000',
  },
}
SCSS
$custom: #acb31d;
$custom-light: #c9c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#acb31d",
  "rgb": {
    "r": 172,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 62.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73698,
    "c": 0.15693,
    "h": 112.6
  },
  "luminance": 0.411
}

Semantic roles & 50–950 ramp

primary
#ACB31D
secondary
#6661CB
accent
#39EF41
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ACB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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