#B4B551#B4B551

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

Color values

HEX#B4B551
RGBrgb(180, 181, 81)
HSLhsl(61, 40%, 51%)
HSVhsv(61, 55%, 71%)
CMYKcmyk(0.6%, 0%, 55.2%, 29%)
CIE-LABlab(71.79, -13.87, 49.91)
CIE-LCHlch(71.79, 51.81, 105.53°)
OKLaboklab(75.2% -0.0412 0.1161)
OKLCHoklch(75.2% 0.123 109.6)
XYZxyz(36.8324, 43.3460, 14.2094)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B551 #5251B5
analogous
#B58451 #B4B551 #82B551
triadic
#B4B551 #51B4B5 #B551B4
tetradic
#B4B551 #51B584 #5251B5 #B55182
square
#B4B551 #51B584 #5251B5 #B55182
split-complementary
#B4B551 #5182B5 #8451B5
monochromatic
#61622A #8C8D3C #B4B551 #C7C77C #D9DAA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B551#FFFFFF#000000##000000
##B4B5511.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)
#C2AE47
Deuteranopia (green-blind)
#C3B256
Tritanopia (blue-blind)
#BFAB9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b551;
/* rgb */ color: rgb(180, 181, 81);
/* oklch */ color: oklch(75.2% 0.123 109.6);
Tailwind
colors: {
  custom: {
    50: '#cdcb85',
    500: '#b4b551',
    950: '#000000',
  },
}
SCSS
$custom: #b4b551;
$custom-light: #cdcb85;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b551",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 81
  },
  "hsl": {
    "h": 60.6,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.752,
    "c": 0.12318,
    "h": 109.6
  },
  "luminance": 0.43345
}

Semantic roles & 50–950 ramp

primary
#B4B551
secondary
#9B9BC7
accent
#58D059
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4B551

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

Preview Lab → · Contrast checker → · Palette generator →

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