#B4B552#B4B552

#B4B552 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.2% C 0.122 H 109.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#B4B552
RGBrgb(180, 181, 82)
HSLhsl(61, 40%, 52%)
HSVhsv(61, 55%, 71%)
CMYKcmyk(0.6%, 0%, 54.7%, 29%)
CIE-LABlab(71.80, -13.79, 49.46)
CIE-LCHlch(71.80, 51.35, 105.58°)
OKLaboklab(75.21% -0.0409 0.1152)
OKLCHoklch(75.21% 0.122 109.5)
XYZxyz(36.8702, 43.3611, 14.4083)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B552 #5352B5
analogous
#B58552 #B4B552 #83B552
triadic
#B4B552 #52B4B5 #B552B4
tetradic
#B4B552 #52B585 #5352B5 #B55283
square
#B4B552 #52B585 #5352B5 #B55283
split-complementary
#B4B552 #5283B5 #8552B5
monochromatic
#62622A #8D8D3C #B4B552 #C7C77D #D9DAA8

Accessibility & contrast

On white

2.17
#B4B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#B4B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B552
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B552#FFFFFF#000000##000000
##B4B5521.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE48
Deuteranopia (green-blind)
#C3B257
Tritanopia (blue-blind)
#BFAB9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b552;
/* rgb */ color: rgb(180, 181, 82);
/* oklch */ color: oklch(75.2% 0.122 109.5);
Tailwind
colors: {
  custom: {
    50: '#cdcb86',
    500: '#b4b552',
    950: '#000000',
  },
}
SCSS
$custom: #b4b552;
$custom-light: #cdcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b552",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 60.606,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75211,
    "c": 0.12225,
    "h": 109.5
  },
  "luminance": 0.4336
}

Semantic roles & 50–950 ramp

primary
#B4B552
secondary
#9C9CC7
accent
#58D059
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4B552

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

Preview Lab → · Contrast checker → · Palette generator →

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