#B5AC32#B5AC32

#B5AC32 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.0% C 0.138 H 105.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B5AC32
RGBrgb(181, 172, 50)
HSLhsl(56, 57%, 45%)
HSVhsv(56, 72%, 71%)
CMYKcmyk(0%, 5%, 72.4%, 29%)
CIE-LABlab(69.16, -10.78, 60.21)
CIE-LCHlch(69.16, 61.17, 100.15°)
OKLaboklab(73.04% -0.0359 0.1332)
OKLCHoklch(73.04% 0.138 105.1)
XYZxyz(34.3857, 39.5604, 8.8416)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC32 #323BB5
analogous
#B56B32 #B5AC32 #7CB532
triadic
#B5AC32 #32B5AC #AC32B5
tetradic
#B5AC32 #32B56B #323BB5 #B5327C
square
#B5AC32 #32B56B #323BB5 #B5327C
split-complementary
#B5AC32 #327CB5 #6B32B5
monochromatic
#555118 #857E25 #B5AC32 #D0C754 #DDD784

Accessibility & contrast

On white

2.36
#B5AC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#B5AC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC32
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC32#FFFFFF#000000##000000
##B5AC321.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61C
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#C3A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac32;
/* rgb */ color: rgb(181, 172, 50);
/* oklch */ color: oklch(73.0% 0.138 105.1);
Tailwind
colors: {
  custom: {
    50: '#cfc472',
    500: '#b5ac32',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac32;
$custom-light: #cfc472;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac32",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 55.878,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7304,
    "c": 0.13795,
    "h": 105.1
  },
  "luminance": 0.39559
}

Semantic roles & 50–950 ramp

primary
#B5AC32
secondary
#7C81C7
accent
#52E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AC32

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

Preview Lab → · Contrast checker → · Palette generator →

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