#B9AC45#B9AC45

#B9AC45 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.124 H 102.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#B9AC45
RGBrgb(185, 172, 69)
HSLhsl(53, 46%, 50%)
HSVhsv(53, 63%, 73%)
CMYKcmyk(0%, 7%, 62.7%, 27.5%)
CIE-LABlab(69.65, -7.96, 53.10)
CIE-LCHlch(69.65, 53.69, 98.52°)
OKLaboklab(73.56% -0.026 0.1212)
OKLCHoklch(73.56% 0.124 102.1)
XYZxyz(35.8357, 40.2504, 11.5105)
Luminance0.4025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC45 #4552B9
analogous
#B97245 #B9AC45 #8CB945
triadic
#B9AC45 #45B9AC #AC45B9
tetradic
#B9AC45 #45B972 #4552B9 #B9458C
square
#B9AC45 #45B972 #4552B9 #B9458C
split-complementary
#B9AC45 #458CB9 #7245B9
monochromatic
#605924 #8C8334 #B9AC45 #CAC071 #DBD49E

Accessibility & contrast

On white

2.32
#B9AC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#B9AC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC45
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC45#FFFFFF#000000##000000
##B9AC451.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#BFAD4B
Tritanopia (blue-blind)
#C6A196
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ac45;
/* rgb */ color: rgb(185, 172, 69);
/* oklch */ color: oklch(73.6% 0.124 102.1);
Tailwind
colors: {
  custom: {
    50: '#d1c47d',
    500: '#b9ac45',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac45;
$custom-light: #d1c47d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac45",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 53.276,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73561,
    "c": 0.12396,
    "h": 102.1
  },
  "luminance": 0.40249
}

Semantic roles & 50–950 ramp

primary
#B9AC45
secondary
#9399C7
accent
#61D552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B9AC45

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

Preview Lab → · Contrast checker → · Palette generator →

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