#B9AC3D#B9AC3D

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

Color values

HEX#B9AC3D
RGBrgb(185, 172, 61)
HSLhsl(54, 50%, 48%)
HSVhsv(54, 67%, 73%)
CMYKcmyk(0%, 7%, 67%, 27.5%)
CIE-LABlab(69.58, -8.45, 56.46)
CIE-LCHlch(69.58, 57.09, 98.52°)
OKLaboklab(73.49% -0.0284 0.1271)
OKLCHoklch(73.49% 0.13 102.6)
XYZxyz(35.6039, 40.1577, 10.2898)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC3D #3D4AB9
analogous
#B96E3D #B9AC3D #88B93D
triadic
#B9AC3D #3DB9AC #AC3DB9
tetradic
#B9AC3D #3DB96E #3D4AB9 #B93D88
square
#B9AC3D #3DB96E #3D4AB9 #B93D88
split-complementary
#B9AC3D #3D88B9 #6E3DB9
monochromatic
#5D561F #8B812E #B9AC3D #CDC266 #DCD495

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AC3D#FFFFFF#000000##000000
##B9AC3D1.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)
#BBA72E
Deuteranopia (green-blind)
#BFAD44
Tritanopia (blue-blind)
#C7A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ac3d;
/* rgb */ color: rgb(185, 172, 61);
/* oklch */ color: oklch(73.5% 0.130 102.6);
Tailwind
colors: {
  custom: {
    50: '#d1c478',
    500: '#b9ac3d',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac3d;
$custom-light: #d1c478;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac3d",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 53.71,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73488,
    "c": 0.13018,
    "h": 102.6
  },
  "luminance": 0.40156
}

Semantic roles & 50–950 ramp

primary
#B9AC3D
secondary
#8B91C7
accent
#5DDA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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