#ACB540#ACB540

#ACB540 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.139 H 113.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#ACB540
RGBrgb(172, 181, 64)
HSLhsl(65, 48%, 48%)
HSVhsv(65, 65%, 71%)
CMYKcmyk(5%, 0%, 64.6%, 29%)
CIE-LABlab(71.00, -18.46, 56.36)
CIE-LCHlch(71.00, 59.30, 108.14°)
OKLaboklab(74.37% -0.0555 0.1277)
OKLCHoklch(74.37% 0.139 113.5)
XYZxyz(34.4634, 42.1892, 11.1774)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB540 #4940B5
analogous
#B58340 #ACB540 #72B540
triadic
#ACB540 #40ACB5 #B540AC
tetradic
#ACB540 #40B583 #4940B5 #B54072
square
#ACB540 #40B583 #4940B5 #B54072
split-complementary
#ACB540 #4072B5 #8340B5
monochromatic
#565B20 #818830 #ACB540 #C2CA68 #D5DA96

Accessibility & contrast

On white

2.23
#ACB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#ACB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB540
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB540#FFFFFF#000000##000000
##ACB5401.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD30
Deuteranopia (green-blind)
#C2AF48
Tritanopia (blue-blind)
#B7AB9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #acb540;
/* rgb */ color: rgb(172, 181, 64);
/* oklch */ color: oklch(74.4% 0.139 113.5);
Tailwind
colors: {
  custom: {
    50: '#c8cb7b',
    500: '#acb540',
    950: '#000000',
  },
}
SCSS
$custom: #acb540;
$custom-light: #c8cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#acb540",
  "rgb": {
    "r": 172,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 64.615,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74365,
    "c": 0.13922,
    "h": 113.5
  },
  "luminance": 0.42189
}

Semantic roles & 50–950 ramp

primary
#ACB540
secondary
#908BC5
accent
#50D75B
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ACB540

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

Preview Lab → · Contrast checker → · Palette generator →

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