#B9AC3C#B9AC3C

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

Color values

HEX#B9AC3C
RGBrgb(185, 172, 60)
HSLhsl(54, 51%, 48%)
HSVhsv(54, 68%, 73%)
CMYKcmyk(0%, 7%, 67.6%, 27.5%)
CIE-LABlab(69.57, -8.51, 56.86)
CIE-LCHlch(69.57, 57.49, 98.51°)
OKLaboklab(73.48% -0.0286 0.1277)
OKLCHoklch(73.48% 0.131 102.6)
XYZxyz(35.5772, 40.1470, 10.1492)
Luminance0.4015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC3C #3C49B9
analogous
#B96D3C #B9AC3C #87B93C
triadic
#B9AC3C #3CB9AC #AC3CB9
tetradic
#B9AC3C #3CB96D #3C49B9 #B93C87
square
#B9AC3C #3CB96D #3C49B9 #B93C87
split-complementary
#B9AC3C #3C87B9 #6D3CB9
monochromatic
#5D561E #8B812D #B9AC3C #CDC265 #DCD593

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AC3C#FFFFFF#000000##000000
##B9AC3C1.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)
#BBA72D
Deuteranopia (green-blind)
#BFAD43
Tritanopia (blue-blind)
#C7A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ac3c;
/* rgb */ color: rgb(185, 172, 60);
/* oklch */ color: oklch(73.5% 0.131 102.6);
Tailwind
colors: {
  custom: {
    50: '#d1c478',
    500: '#b9ac3c',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac3c;
$custom-light: #d1c478;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac3c",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 53.76,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73479,
    "c": 0.13091,
    "h": 102.6
  },
  "luminance": 0.40146
}

Semantic roles & 50–950 ramp

primary
#B9AC3C
secondary
#8990C7
accent
#5CDA4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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