#B5AC36#B5AC36

#B5AC36 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.1% C 0.135 H 104.9°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#B5AC36
RGBrgb(181, 172, 54)
HSLhsl(56, 54%, 46%)
HSVhsv(56, 70%, 71%)
CMYKcmyk(0%, 5%, 70.2%, 29%)
CIE-LABlab(69.18, -10.58, 58.73)
CIE-LCHlch(69.18, 59.68, 100.21°)
OKLaboklab(73.07% -0.0349 0.1308)
OKLCHoklch(73.07% 0.135 104.9)
XYZxyz(34.4758, 39.5965, 9.3162)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC36 #363FB5
analogous
#B56C36 #B5AC36 #7EB536
triadic
#B5AC36 #36B5AC #AC36B5
tetradic
#B5AC36 #36B56C #363FB5 #B5367E
square
#B5AC36 #36B56C #363FB5 #B5367E
split-complementary
#B5AC36 #367EB5 #6C36B5
monochromatic
#57521A #867F28 #B5AC36 #CEC65A #DCD689

Accessibility & contrast

On white

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

On black

8.92
#B5AC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC36
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC36#FFFFFF#000000##000000
##B5AC361.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA623
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#C2A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac36;
/* rgb */ color: rgb(181, 172, 54);
/* oklch */ color: oklch(73.1% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#cfc474',
    500: '#b5ac36',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac36;
$custom-light: #cfc474;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac36",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 54
  },
  "hsl": {
    "h": 55.748,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73069,
    "c": 0.13537,
    "h": 104.9
  },
  "luminance": 0.39595
}

Semantic roles & 50–950 ramp

primary
#B5AC36
secondary
#8186C6
accent
#55DD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AC36

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

Preview Lab → · Contrast checker → · Palette generator →

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