#ACB72D#ACB72D

#ACB72D is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.7% C 0.154 H 114.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#ACB72D
RGBrgb(172, 183, 45)
HSLhsl(65, 61%, 45%)
HSVhsv(65, 75%, 72%)
CMYKcmyk(6%, 0%, 75.4%, 28.2%)
CIE-LABlab(71.44, -20.49, 63.84)
CIE-LCHlch(71.44, 67.05, 107.79°)
OKLaboklab(74.68% -0.063 0.1403)
OKLCHoklch(74.68% 0.154 114.2)
XYZxyz(34.4214, 42.8278, 8.9354)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB72D #382DB7
analogous
#B77D2D #ACB72D #67B72D
triadic
#ACB72D #2DACB7 #B72DAC
tetradic
#ACB72D #2DB77D #382DB7 #B72D67
square
#ACB72D #2DB77D #382DB7 #B72D67
split-complementary
#ACB72D #2D67B7 #7D2DB7
monochromatic
#505515 #7E8621 #ACB72D #C9D34E #D8DF7F

Accessibility & contrast

On white

2.20
#ACB72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#ACB72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB72D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB72D#FFFFFF#000000##000000
##ACB72D1.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0B
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#B8AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #acb72d;
/* rgb */ color: rgb(172, 183, 45);
/* oklch */ color: oklch(74.7% 0.154 114.2);
Tailwind
colors: {
  custom: {
    50: '#c8cc71',
    500: '#acb72d',
    950: '#000000',
  },
}
SCSS
$custom: #acb72d;
$custom-light: #c8cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#acb72d",
  "rgb": {
    "r": 172,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 64.783,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74676,
    "c": 0.15379,
    "h": 114.2
  },
  "luminance": 0.42827
}

Semantic roles & 50–950 ramp

primary
#ACB72D
secondary
#7E78C8
accent
#44E451
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB72D

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

Preview Lab → · Contrast checker → · Palette generator →

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