#B5AC3B#B5AC3B

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

Color values

HEX#B5AC3B
RGBrgb(181, 172, 59)
HSLhsl(56, 51%, 47%)
HSVhsv(56, 67%, 71%)
CMYKcmyk(0%, 5%, 67.4%, 29%)
CIE-LABlab(69.22, -10.30, 56.79)
CIE-LCHlch(69.22, 57.72, 100.28°)
OKLaboklab(73.11% -0.0336 0.1276)
OKLCHoklch(73.11% 0.132 104.8)
XYZxyz(34.5993, 39.6459, 9.9667)
Luminance0.3965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC3B #3B44B5
analogous
#B56F3B #B5AC3B #81B53B
triadic
#B5AC3B #3BB5AC #AC3BB5
tetradic
#B5AC3B #3BB56F #3B44B5 #B53B81
square
#B5AC3B #3BB56F #3B44B5 #B53B81
split-complementary
#B5AC3B #3B81B5 #6F3BB5
monochromatic
#59541D #87802C #B5AC3B #CCC462 #DBD590

Accessibility & contrast

On white

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

On black

8.93
#B5AC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC3B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC3B#FFFFFF#000000##000000
##B5AC3B1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62B
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#C2A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac3b;
/* rgb */ color: rgb(181, 172, 59);
/* oklch */ color: oklch(73.1% 0.132 104.8);
Tailwind
colors: {
  custom: {
    50: '#cec477',
    500: '#b5ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac3b;
$custom-light: #cec477;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac3b",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 55.574,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73109,
    "c": 0.1319,
    "h": 104.8
  },
  "luminance": 0.39645
}

Semantic roles & 50–950 ramp

primary
#B5AC3B
secondary
#868BC6
accent
#58DA4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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