#B2B552#B2B552

#B2B552 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.123 H 110.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#B2B552
RGBrgb(178, 181, 82)
HSLhsl(62, 40%, 52%)
HSVhsv(62, 55%, 71%)
CMYKcmyk(1.7%, 0%, 54.7%, 29%)
CIE-LABlab(71.64, -14.63, 49.23)
CIE-LCHlch(71.64, 51.36, 106.55°)
OKLaboklab(75.04% -0.0431 0.1148)
OKLCHoklch(75.04% 0.123 110.6)
XYZxyz(36.4078, 43.1227, 14.3866)
Luminance0.4312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B552 #5552B5
analogous
#B58752 #B2B552 #81B552
triadic
#B2B552 #52B2B5 #B552B2
tetradic
#B2B552 #52B587 #5552B5 #B55281
square
#B2B552 #52B587 #5552B5 #B55281
split-complementary
#B2B552 #5281B5 #8752B5
monochromatic
#61622A #8B8D3C #B2B552 #C5C77D #D8DAA8

Accessibility & contrast

On white

2.18
#B2B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#B2B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B552
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B552#FFFFFF#000000##000000
##B2B5521.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE48
Deuteranopia (green-blind)
#C2B157
Tritanopia (blue-blind)
#BDAB9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b552;
/* rgb */ color: rgb(178, 181, 82);
/* oklch */ color: oklch(75.0% 0.123 110.6);
Tailwind
colors: {
  custom: {
    50: '#cbcb86',
    500: '#b2b552',
    950: '#000000',
  },
}
SCSS
$custom: #b2b552;
$custom-light: #cbcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b552",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 61.818,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75043,
    "c": 0.12259,
    "h": 110.6
  },
  "luminance": 0.43122
}

Semantic roles & 50–950 ramp

primary
#B2B552
secondary
#9D9CC7
accent
#58D05B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B552

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

Preview Lab → · Contrast checker → · Palette generator →

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