#B5AC2A#B5AC2A

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

Color values

HEX#B5AC2A
RGBrgb(181, 172, 42)
HSLhsl(56, 62%, 44%)
HSVhsv(56, 77%, 71%)
CMYKcmyk(0%, 5%, 76.8%, 29%)
CIE-LABlab(69.11, -11.13, 62.94)
CIE-LCHlch(69.11, 63.91, 100.02°)
OKLaboklab(72.99% -0.0376 0.1375)
OKLCHoklch(72.99% 0.143 105.3)
XYZxyz(34.2280, 39.4973, 8.0108)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC2A #2A33B5
analogous
#B5662A #B5AC2A #78B52A
triadic
#B5AC2A #2AB5AC #AC2AB5
tetradic
#B5AC2A #2AB566 #2A33B5 #B52A78
square
#B5AC2A #2AB566 #2A33B5 #B52A78
split-complementary
#B5AC2A #2A78B5 #662AB5
monochromatic
#524E13 #837D1E #B5AC2A #D4CB48 #E0D979

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AC2A#FFFFFF#000000##000000
##B5AC2A1.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)
#BBA609
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#C3A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ac2a;
/* rgb */ color: rgb(181, 172, 42);
/* oklch */ color: oklch(73.0% 0.143 105.3);
Tailwind
colors: {
  custom: {
    50: '#cfc46e',
    500: '#b5ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac2a;
$custom-light: #cfc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac2a",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 56.115,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7299,
    "c": 0.14253,
    "h": 105.3
  },
  "luminance": 0.39496
}

Semantic roles & 50–950 ramp

primary
#B5AC2A
secondary
#7378C8
accent
#4DE542
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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