#B5AC40#B5AC40

#B5AC40 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.2% C 0.128 H 104.6°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#B5AC40
RGBrgb(181, 172, 64)
HSLhsl(55, 48%, 48%)
HSVhsv(55, 65%, 71%)
CMYKcmyk(0%, 5%, 64.6%, 29%)
CIE-LABlab(69.26, -10.00, 54.75)
CIE-LCHlch(69.26, 55.65, 100.36°)
OKLaboklab(73.15% -0.0322 0.124)
OKLCHoklch(73.15% 0.128 104.6)
XYZxyz(34.7353, 39.7002, 10.6827)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC40 #4049B5
analogous
#B57240 #B5AC40 #83B540
triadic
#B5AC40 #40B5AC #AC40B5
tetradic
#B5AC40 #40B572 #4049B5 #B54083
square
#B5AC40 #40B572 #4049B5 #B54083
split-complementary
#B5AC40 #4083B5 #7240B5
monochromatic
#5B5620 #888130 #B5AC40 #CAC268 #DAD596

Accessibility & contrast

On white

2.35
#B5AC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#B5AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC40
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC40#FFFFFF#000000##000000
##B5AC401.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA632
Deuteranopia (green-blind)
#BEAB46
Tritanopia (blue-blind)
#C2A196
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac40;
/* rgb */ color: rgb(181, 172, 64);
/* oklch */ color: oklch(73.2% 0.128 104.6);
Tailwind
colors: {
  custom: {
    50: '#cec47a',
    500: '#b5ac40',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac40;
$custom-light: #cec47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac40",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 55.385,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73152,
    "c": 0.12815,
    "h": 104.6
  },
  "luminance": 0.39699
}

Semantic roles & 50–950 ramp

primary
#B5AC40
secondary
#8B90C5
accent
#5BD750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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