#B9AC4F#B9AC4F

#B9AC4F is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.7% C 0.115 H 101.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#B9AC4F
RGBrgb(185, 172, 79)
HSLhsl(53, 43%, 52%)
HSVhsv(53, 57%, 73%)
CMYKcmyk(0%, 7%, 57.3%, 27.5%)
CIE-LABlab(69.74, -7.24, 48.64)
CIE-LCHlch(69.74, 49.17, 98.47°)
OKLaboklab(73.67% -0.0228 0.113)
OKLCHoklch(73.67% 0.115 101.4)
XYZxyz(36.1727, 40.3852, 13.2853)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC4F #4F5CB9
analogous
#B9774F #B9AC4F #91B94F
triadic
#B9AC4F #4FB9AC #AC4FB9
tetradic
#B9AC4F #4FB977 #4F5CB9 #B94F91
square
#B9AC4F #4FB977 #4F5CB9 #B94F91
split-complementary
#B9AC4F #4F91B9 #774FB9
monochromatic
#655E28 #91863A #B9AC4F #CAC17B #DCD5A7

Accessibility & contrast

On white

2.31
#B9AC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#B9AC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC4F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC4F#FFFFFF#000000##000000
##B9AC4F1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA746
Deuteranopia (green-blind)
#BEAD54
Tritanopia (blue-blind)
#C6A197
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ac4f;
/* rgb */ color: rgb(185, 172, 79);
/* oklch */ color: oklch(73.7% 0.115 101.4);
Tailwind
colors: {
  custom: {
    50: '#d0c483',
    500: '#b9ac4f',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac4f;
$custom-light: #d0c483;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac4f",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 79
  },
  "hsl": {
    "h": 52.642,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73668,
    "c": 0.11528,
    "h": 101.4
  },
  "luminance": 0.40384
}

Semantic roles & 50–950 ramp

primary
#B9AC4F
secondary
#9BA0C9
accent
#64D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B9AC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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