#B5AC2B#B5AC2B

#B5AC2B is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.142 H 105.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#B5AC2B
RGBrgb(181, 172, 43)
HSLhsl(56, 62%, 44%)
HSVhsv(56, 76%, 71%)
CMYKcmyk(0%, 5%, 76.2%, 29%)
CIE-LABlab(69.12, -11.09, 62.61)
CIE-LCHlch(69.12, 63.59, 100.04°)
OKLaboklab(73% -0.0374 0.137)
OKLCHoklch(73% 0.142 105.3)
XYZxyz(34.2461, 39.5046, 8.1063)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC2B #2B34B5
analogous
#B5672B #B5AC2B #79B52B
triadic
#B5AC2B #2BB5AC #AC2BB5
tetradic
#B5AC2B #2BB567 #2B34B5 #B52B79
square
#B5AC2B #2BB567 #2B34B5 #B52B79
split-complementary
#B5AC2B #2B79B5 #672BB5
monochromatic
#524E14 #847D1F #B5AC2B #D4CB49 #E0D97B

Accessibility & contrast

On white

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

On black

8.90
#B5AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC2B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC2B#FFFFFF#000000##000000
##B5AC2B1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ac2b;
/* rgb */ color: rgb(181, 172, 43);
/* oklch */ color: oklch(73.0% 0.142 105.3);
Tailwind
colors: {
  custom: {
    50: '#cfc46f',
    500: '#b5ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac2b;
$custom-light: #cfc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac2b",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 56.087,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72996,
    "c": 0.142,
    "h": 105.3
  },
  "luminance": 0.39503
}

Semantic roles & 50–950 ramp

primary
#B5AC2B
secondary
#7479C8
accent
#4EE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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