#B8B552#B8B552

#B8B552 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.6% C 0.122 H 107.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B8B552
RGBrgb(184, 181, 82)
HSLhsl(58, 42%, 52%)
HSVhsv(58, 55%, 72%)
CMYKcmyk(0%, 1.6%, 55.4%, 27.8%)
CIE-LABlab(72.13, -12.11, 49.92)
CIE-LCHlch(72.13, 51.37, 103.64°)
OKLaboklab(75.55% -0.0364 0.1161)
OKLCHoklch(75.55% 0.122 107.4)
XYZxyz(37.8151, 43.8484, 14.4526)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B552 #5255B8
analogous
#B88252 #B8B552 #88B852
triadic
#B8B552 #52B8B5 #B552B8
tetradic
#B8B552 #52B882 #5255B8 #B85288
square
#B8B552 #52B882 #5255B8 #B85288
split-complementary
#B8B552 #5288B8 #8252B8
monochromatic
#66642A #918F3C #B8B552 #CAC87D #DCDAA9

Accessibility & contrast

On white

2.15
#B8B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B8B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B552
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B552#FFFFFF#000000##000000
##B8B5521.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF48
Deuteranopia (green-blind)
#C4B357
Tritanopia (blue-blind)
#C4AB9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b552;
/* rgb */ color: rgb(184, 181, 82);
/* oklch */ color: oklch(75.6% 0.122 107.4);
Tailwind
colors: {
  custom: {
    50: '#d0cb86',
    500: '#b8b552',
    950: '#000000',
  },
}
SCSS
$custom: #b8b552;
$custom-light: #d0cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b552",
  "rgb": {
    "r": 184,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 58.235,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75552,
    "c": 0.12168,
    "h": 107.4
  },
  "luminance": 0.43847
}

Semantic roles & 50–950 ramp

primary
#B8B552
secondary
#9D9EC9
accent
#5AD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8B552

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

Preview Lab → · Contrast checker → · Palette generator →

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