#B9AC3B#B9AC3B

#B9AC3B is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.132 H 102.7°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#B9AC3B
RGBrgb(185, 172, 59)
HSLhsl(54, 52%, 48%)
HSVhsv(54, 68%, 73%)
CMYKcmyk(0%, 7%, 68.1%, 27.5%)
CIE-LABlab(69.57, -8.57, 57.26)
CIE-LCHlch(69.57, 57.90, 98.51°)
OKLaboklab(73.47% -0.0289 0.1284)
OKLCHoklch(73.47% 0.132 102.7)
XYZxyz(35.5510, 40.1366, 10.0113)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC3B #3B48B9
analogous
#B96D3B #B9AC3B #87B93B
triadic
#B9AC3B #3BB9AC #AC3BB9
tetradic
#B9AC3B #3BB96D #3B48B9 #B93B87
square
#B9AC3B #3BB96D #3B48B9 #B93B87
split-complementary
#B9AC3B #3B87B9 #6D3BB9
monochromatic
#5C561D #8B812C #B9AC3B #CDC364 #DCD592

Accessibility & contrast

On white

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

On black

9.03
#B9AC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC3B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC3B#FFFFFF#000000##000000
##B9AC3B1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ac3b;
/* rgb */ color: rgb(185, 172, 59);
/* oklch */ color: oklch(73.5% 0.132 102.7);
Tailwind
colors: {
  custom: {
    50: '#d1c477',
    500: '#b9ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac3b;
$custom-light: #d1c477;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac3b",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 53.81,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73471,
    "c": 0.13163,
    "h": 102.7
  },
  "luminance": 0.40135
}

Semantic roles & 50–950 ramp

primary
#B9AC3B
secondary
#888FC7
accent
#5BDB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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