#B8B752#B8B752

#B8B752 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.0% C 0.124 H 108.5°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B8B752
RGBrgb(184, 183, 82)
HSLhsl(59, 42%, 52%)
HSVhsv(59, 55%, 72%)
CMYKcmyk(0%, 0.5%, 55.4%, 27.8%)
CIE-LABlab(72.67, -13.14, 50.54)
CIE-LCHlch(72.67, 52.22, 104.58°)
OKLaboklab(75.99% -0.0393 0.1175)
OKLCHoklch(75.99% 0.124 108.5)
XYZxyz(38.2247, 44.6675, 14.5891)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B752 #5253B8
analogous
#B88452 #B8B752 #86B852
triadic
#B8B752 #52B8B7 #B752B8
tetradic
#B8B752 #52B884 #5253B8 #B85286
square
#B8B752 #52B884 #5253B8 #B85286
split-complementary
#B8B752 #5286B8 #8452B8
monochromatic
#66652A #91903C #B8B752 #CAC97D #DCDBA9

Accessibility & contrast

On white

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

On black

9.93
#B8B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B752
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B752#FFFFFF#000000##000000
##B8B7521.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b752;
/* rgb */ color: rgb(184, 183, 82);
/* oklch */ color: oklch(76.0% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#d0cc86',
    500: '#b8b752',
    950: '#000000',
  },
}
SCSS
$custom: #b8b752;
$custom-light: #d0cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b752",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 59.412,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75987,
    "c": 0.12385,
    "h": 108.5
  },
  "luminance": 0.44667
}

Semantic roles & 50–950 ramp

primary
#B8B752
secondary
#9D9DC9
accent
#57D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8B752

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

Preview Lab → · Contrast checker → · Palette generator →

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