#B9B752#B9B752

#B9B752 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.1% C 0.124 H 108.0°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#B9B752
RGBrgb(185, 183, 82)
HSLhsl(59, 42%, 52%)
HSVhsv(59, 56%, 73%)
CMYKcmyk(0%, 1.1%, 55.7%, 27.5%)
CIE-LABlab(72.75, -12.72, 50.66)
CIE-LCHlch(72.75, 52.23, 104.10°)
OKLaboklab(76.07% -0.0382 0.1177)
OKLCHoklch(76.07% 0.124 108)
XYZxyz(38.4651, 44.7915, 14.6004)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B752 #5254B9
analogous
#B98452 #B9B752 #88B952
triadic
#B9B752 #52B9B7 #B752B9
tetradic
#B9B752 #52B984 #5254B9 #B95288
square
#B9B752 #52B984 #5254B9 #B95288
split-complementary
#B9B752 #5288B9 #8452B9
monochromatic
#67662A #93913B #B9B752 #CBC97E #DCDBA9

Accessibility & contrast

On white

2.11
#B9B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#B9B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B752
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B752#FFFFFF#000000##000000
##B9B7521.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C6B457
Tritanopia (blue-blind)
#C5ACA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b752;
/* rgb */ color: rgb(185, 183, 82);
/* oklch */ color: oklch(76.1% 0.124 108.0);
Tailwind
colors: {
  custom: {
    50: '#d0cc86',
    500: '#b9b752',
    950: '#000000',
  },
}
SCSS
$custom: #b9b752;
$custom-light: #d0cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b752",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 58.835,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76072,
    "c": 0.12371,
    "h": 108
  },
  "luminance": 0.4479
}

Semantic roles & 50–950 ramp

primary
#B9B752
secondary
#9D9ECA
accent
#58D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B9B752

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

Preview Lab → · Contrast checker → · Palette generator →

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