#B9AC36#B9AC36

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

Color values

HEX#B9AC36
RGBrgb(185, 172, 54)
HSLhsl(54, 55%, 47%)
HSVhsv(54, 71%, 73%)
CMYKcmyk(0%, 7%, 70.8%, 27.5%)
CIE-LABlab(69.53, -8.83, 59.20)
CIE-LCHlch(69.53, 59.85, 98.49°)
OKLaboklab(73.43% -0.0302 0.1316)
OKLCHoklch(73.43% 0.135 102.9)
XYZxyz(35.4275, 40.0871, 9.3608)
Luminance0.4009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC36 #3643B9
analogous
#B96B36 #B9AC36 #85B936
triadic
#B9AC36 #36B9AC #AC36B9
tetradic
#B9AC36 #36B96B #3643B9 #B93685
square
#B9AC36 #36B96B #3643B9 #B93685
split-complementary
#B9AC36 #3685B9 #6B36B9
monochromatic
#5A541A #8A8028 #B9AC36 #D0C45D #DDD58C

Accessibility & contrast

On white

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

On black

9.02
#B9AC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC36
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC36#FFFFFF#000000##000000
##B9AC361.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA623
Deuteranopia (green-blind)
#C0AC3E
Tritanopia (blue-blind)
#C7A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ac36;
/* rgb */ color: rgb(185, 172, 54);
/* oklch */ color: oklch(73.4% 0.135 102.9);
Tailwind
colors: {
  custom: {
    50: '#d2c475',
    500: '#b9ac36',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac36;
$custom-light: #d2c475;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac36",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 54
  },
  "hsl": {
    "h": 54.046,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73432,
    "c": 0.13506,
    "h": 102.9
  },
  "luminance": 0.40086
}

Semantic roles & 50–950 ramp

primary
#B9AC36
secondary
#838AC8
accent
#58DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9AC36

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

Preview Lab → · Contrast checker → · Palette generator →

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