#B9AC37#B9AC37

#B9AC37 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.4% C 0.134 H 102.9°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B9AC37
RGBrgb(185, 172, 55)
HSLhsl(54, 54%, 47%)
HSVhsv(54, 70%, 73%)
CMYKcmyk(0%, 7%, 70.3%, 27.5%)
CIE-LABlab(69.54, -8.78, 58.82)
CIE-LCHlch(69.54, 59.47, 98.49°)
OKLaboklab(73.44% -0.03 0.131)
OKLCHoklch(73.44% 0.134 102.9)
XYZxyz(35.4512, 40.0966, 9.4857)
Luminance0.4009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC37 #3744B9
analogous
#B96B37 #B9AC37 #85B937
triadic
#B9AC37 #37B9AC #AC37B9
tetradic
#B9AC37 #37B96B #3744B9 #B93785
square
#B9AC37 #37B96B #3744B9 #B93785
split-complementary
#B9AC37 #3785B9 #6B37B9
monochromatic
#5B541B #8A8029 #B9AC37 #CFC45E #DDD58D

Accessibility & contrast

On white

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

On black

9.02
#B9AC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC37
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC37#FFFFFF#000000##000000
##B9AC371.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ac37;
/* rgb */ color: rgb(185, 172, 55);
/* oklch */ color: oklch(73.4% 0.134 102.9);
Tailwind
colors: {
  custom: {
    50: '#d1c475',
    500: '#b9ac37',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac37;
$custom-light: #d1c475;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac37",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 54,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73439,
    "c": 0.13439,
    "h": 102.9
  },
  "luminance": 0.40095
}

Semantic roles & 50–950 ramp

primary
#B9AC37
secondary
#848BC8
accent
#59DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AC37

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

Preview Lab → · Contrast checker → · Palette generator →

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