#B5AC35#B5AC35

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

Color values

HEX#B5AC35
RGBrgb(181, 172, 53)
HSLhsl(56, 55%, 46%)
HSVhsv(56, 71%, 71%)
CMYKcmyk(0%, 5%, 70.7%, 29%)
CIE-LABlab(69.17, -10.63, 59.11)
CIE-LCHlch(69.17, 60.06, 100.19°)
OKLaboklab(73.06% -0.0351 0.1314)
OKLCHoklch(73.06% 0.136 105)
XYZxyz(34.4526, 39.5872, 9.1938)
Luminance0.3959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC35 #353EB5
analogous
#B56C35 #B5AC35 #7EB535
triadic
#B5AC35 #35B5AC #AC35B5
tetradic
#B5AC35 #35B56C #353EB5 #B5357E
square
#B5AC35 #35B56C #353EB5 #B5357E
split-complementary
#B5AC35 #357EB5 #6C35B5
monochromatic
#565219 #867F27 #B5AC35 #CEC659 #DCD688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AC35#FFFFFF#000000##000000
##B5AC351.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)
#BBA622
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#C2A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac35;
/* rgb */ color: rgb(181, 172, 53);
/* oklch */ color: oklch(73.1% 0.136 105.0);
Tailwind
colors: {
  custom: {
    50: '#cfc474',
    500: '#b5ac35',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac35;
$custom-light: #cfc474;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac35",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 53
  },
  "hsl": {
    "h": 55.781,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73062,
    "c": 0.13603,
    "h": 105
  },
  "luminance": 0.39586
}

Semantic roles & 50–950 ramp

primary
#B5AC35
secondary
#8085C6
accent
#54DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AC35

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

Preview Lab → · Contrast checker → · Palette generator →

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