#B5AC33#B5AC33

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

Color values

HEX#B5AC33
RGBrgb(181, 172, 51)
HSLhsl(56, 56%, 45%)
HSVhsv(56, 72%, 71%)
CMYKcmyk(0%, 5%, 71.8%, 29%)
CIE-LABlab(69.16, -10.73, 59.85)
CIE-LCHlch(69.16, 60.80, 100.16°)
OKLaboklab(73.05% -0.0356 0.1326)
OKLCHoklch(73.05% 0.137 105)
XYZxyz(34.4075, 39.5691, 8.9565)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC33 #333CB5
analogous
#B56B33 #B5AC33 #7DB533
triadic
#B5AC33 #33B5AC #AC33B5
tetradic
#B5AC33 #33B56B #333CB5 #B5337D
square
#B5AC33 #33B56B #333CB5 #B5337D
split-complementary
#B5AC33 #337DB5 #6B33B5
monochromatic
#565118 #857F26 #B5AC33 #CFC756 #DDD786

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AC33#FFFFFF#000000##000000
##B5AC331.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)
#BBA61E
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#C2A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac33;
/* rgb */ color: rgb(181, 172, 51);
/* oklch */ color: oklch(73.0% 0.137 105.0);
Tailwind
colors: {
  custom: {
    50: '#cfc473',
    500: '#b5ac33',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac33;
$custom-light: #cfc473;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac33",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 55.846,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73047,
    "c": 0.13731,
    "h": 105
  },
  "luminance": 0.39568
}

Semantic roles & 50–950 ramp

primary
#B5AC33
secondary
#7D82C6
accent
#53DF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AC33

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

Preview Lab → · Contrast checker → · Palette generator →

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