#B9AC2A#B9AC2A

#B9AC2A is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.142 H 103.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B9AC2A
RGBrgb(185, 172, 42)
HSLhsl(55, 63%, 45%)
HSVhsv(55, 77%, 73%)
CMYKcmyk(0%, 7%, 77.3%, 27.5%)
CIE-LABlab(69.46, -9.37, 63.39)
CIE-LCHlch(69.46, 64.08, 98.41°)
OKLaboklab(73.35% -0.0329 0.1383)
OKLCHoklch(73.35% 0.142 103.4)
XYZxyz(35.1796, 39.9880, 8.0554)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC2A #2A37B9
analogous
#B9642A #B9AC2A #7FB92A
triadic
#B9AC2A #2AB9AC #AC2AB9
tetradic
#B9AC2A #2AB964 #2A37B9 #B92A7F
square
#B9AC2A #2AB964 #2A37B9 #B92A7F
split-complementary
#B9AC2A #2A7FB9 #642AB9
monochromatic
#554F13 #877E1F #B9AC2A #D6C94A #E1D87C

Accessibility & contrast

On white

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

On black

9.00
#B9AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC2A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC2A#FFFFFF#000000##000000
##B9AC2A1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ac2a;
/* rgb */ color: rgb(185, 172, 42);
/* oklch */ color: oklch(73.4% 0.142 103.4);
Tailwind
colors: {
  custom: {
    50: '#d2c46f',
    500: '#b9ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac2a;
$custom-light: #d2c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac2a",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 54.545,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73353,
    "c": 0.14213,
    "h": 103.4
  },
  "luminance": 0.39987
}

Semantic roles & 50–950 ramp

primary
#B9AC2A
secondary
#757DCA
accent
#51E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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