#ACB31C#ACB31C

#ACB31C 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#ACB31C
RGBrgb(172, 179, 28)
HSLhsl(63, 73%, 41%)
HSVhsv(63, 84%, 70%)
CMYKcmyk(3.9%, 0%, 84.4%, 29.8%)
CIE-LABlab(70.24, -19.10, 67.54)
CIE-LCHlch(70.24, 70.19, 105.79°)
OKLaboklab(73.69% -0.0604 0.1452)
OKLCHoklch(73.69% 0.157 112.6)
XYZxyz(33.3441, 41.0955, 7.2741)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB31C #231CB3
analogous
#B36E1C #ACB31C #61B31C
triadic
#ACB31C #1CACB3 #B31CAC
tetradic
#ACB31C #1CB36E #231CB3 #B31C61
square
#ACB31C #1CB36E #231CB3 #B31C61
split-complementary
#ACB31C #1C61B3 #6E1CB3
monochromatic
#46490B #797E14 #ACB31C #D6DE2E #E0E763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACB31C#FFFFFF#000000##000000
##ACB31C1.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)
#B8A799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #acb31c;
/* rgb */ color: rgb(172, 179, 28);
/* oklch */ color: oklch(73.7% 0.157 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9c96a',
    500: '#acb31c',
    950: '#000000',
  },
}
SCSS
$custom: #acb31c;
$custom-light: #c9c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#acb31c",
  "rgb": {
    "r": 172,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 62.781,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73694,
    "c": 0.15729,
    "h": 112.6
  },
  "luminance": 0.41095
}

Semantic roles & 50–950 ramp

primary
#ACB31C
secondary
#645FCB
accent
#38F041
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ACB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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