#B9AC33#B9AC33

#B9AC33 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.4% C 0.137 H 103.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B9AC33
RGBrgb(185, 172, 51)
HSLhsl(54, 57%, 46%)
HSVhsv(54, 72%, 73%)
CMYKcmyk(0%, 7%, 72.4%, 27.5%)
CIE-LABlab(69.51, -8.98, 60.31)
CIE-LCHlch(69.51, 60.98, 98.47°)
OKLaboklab(73.41% -0.0309 0.1334)
OKLCHoklch(73.41% 0.137 103.1)
XYZxyz(35.3592, 40.0598, 9.0011)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC33 #3340B9
analogous
#B96933 #B9AC33 #83B933
triadic
#B9AC33 #33B9AC #AC33B9
tetradic
#B9AC33 #33B969 #3340B9 #B93383
square
#B9AC33 #33B969 #3340B9 #B93383
split-complementary
#B9AC33 #3383B9 #6933B9
monochromatic
#595319 #897F26 #B9AC33 #D1C558 #DED688

Accessibility & contrast

On white

2.33
#B9AC33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B9AC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC33
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC33#FFFFFF#000000##000000
##B9AC331.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61E
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#C7A094
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ac33;
/* rgb */ color: rgb(185, 172, 51);
/* oklch */ color: oklch(73.4% 0.137 103.1);
Tailwind
colors: {
  custom: {
    50: '#d2c473',
    500: '#b9ac33',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac33;
$custom-light: #d2c473;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac33",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 54.179,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7341,
    "c": 0.13698,
    "h": 103.1
  },
  "luminance": 0.40058
}

Semantic roles & 50–950 ramp

primary
#B9AC33
secondary
#8087C8
accent
#57E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9AC33

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

Preview Lab → · Contrast checker → · Palette generator →

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