#B9AC3F#B9AC3F

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

Color values

HEX#B9AC3F
RGBrgb(185, 172, 63)
HSLhsl(54, 49%, 49%)
HSVhsv(54, 66%, 73%)
CMYKcmyk(0%, 7%, 65.9%, 27.5%)
CIE-LABlab(69.60, -8.34, 55.64)
CIE-LCHlch(69.60, 56.26, 98.52°)
OKLaboklab(73.51% -0.0278 0.1257)
OKLCHoklch(73.51% 0.129 102.5)
XYZxyz(35.6588, 40.1797, 10.5788)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC3F #3F4CB9
analogous
#B96F3F #B9AC3F #89B93F
triadic
#B9AC3F #3FB9AC #AC3FB9
tetradic
#B9AC3F #3FB96F #3F4CB9 #B93F89
square
#B9AC3F #3FB96F #3F4CB9 #B93F89
split-complementary
#B9AC3F #3F89B9 #6F3FB9
monochromatic
#5E5720 #8B822F #B9AC3F #CCC169 #DCD497

Accessibility & contrast

On white

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

On black

9.04
#B9AC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC3F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC3F#FFFFFF#000000##000000
##B9AC3F1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ac3f;
/* rgb */ color: rgb(185, 172, 63);
/* oklch */ color: oklch(73.5% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#d1c47a',
    500: '#b9ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac3f;
$custom-light: #d1c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac3f",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 53.607,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73505,
    "c": 0.12869,
    "h": 102.5
  },
  "luminance": 0.40178
}

Semantic roles & 50–950 ramp

primary
#B9AC3F
secondary
#8D93C7
accent
#5ED94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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