#B9B552#B9B552

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

Color values

HEX#B9B552
RGBrgb(185, 181, 82)
HSLhsl(58, 42%, 52%)
HSVhsv(58, 56%, 73%)
CMYKcmyk(0%, 2.2%, 55.7%, 27.5%)
CIE-LABlab(72.21, -11.69, 50.04)
CIE-LCHlch(72.21, 51.39, 103.15°)
OKLaboklab(75.64% -0.0352 0.1164)
OKLCHoklch(75.64% 0.122 106.8)
XYZxyz(38.0556, 43.9723, 14.4639)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B552 #5256B9
analogous
#B98252 #B9B552 #89B952
triadic
#B9B552 #52B9B5 #B552B9
tetradic
#B9B552 #52B982 #5256B9 #B95289
square
#B9B552 #52B982 #5256B9 #B95289
split-complementary
#B9B552 #5289B9 #8252B9
monochromatic
#67652A #938F3B #B9B552 #CBC87E #DCDAA9

Accessibility & contrast

On white

2.14
#B9B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#B9B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B552
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B552#FFFFFF#000000##000000
##B9B5521.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#C5B357
Tritanopia (blue-blind)
#C5AA9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b9b552;
/* rgb */ color: rgb(185, 181, 82);
/* oklch */ color: oklch(75.6% 0.122 106.8);
Tailwind
colors: {
  custom: {
    50: '#d0cb86',
    500: '#b9b552',
    950: '#000000',
  },
}
SCSS
$custom: #b9b552;
$custom-light: #d0cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b552",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 57.67,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75638,
    "c": 0.12156,
    "h": 106.8
  },
  "luminance": 0.43971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9B552

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

Preview Lab → · Contrast checker → · Palette generator →

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