#B2B550#B2B550

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

Color values

HEX#B2B550
RGBrgb(178, 181, 80)
HSLhsl(62, 41%, 51%)
HSVhsv(62, 56%, 71%)
CMYKcmyk(1.7%, 0%, 55.8%, 29%)
CIE-LABlab(71.62, -14.79, 50.14)
CIE-LCHlch(71.62, 52.28, 106.43°)
OKLaboklab(75.02% -0.0438 0.1165)
OKLCHoklch(75.02% 0.124 110.6)
XYZxyz(36.3328, 43.0927, 13.9917)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B550 #5350B5
analogous
#B58550 #B2B550 #7FB550
triadic
#B2B550 #50B2B5 #B550B2
tetradic
#B2B550 #50B585 #5350B5 #B5507F
square
#B2B550 #50B585 #5350B5 #B5507F
split-complementary
#B2B550 #507FB5 #8550B5
monochromatic
#606129 #8A8C3B #B2B550 #C5C77B #D8D9A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B550#FFFFFF#000000##000000
##B2B5501.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)
#C2AE46
Deuteranopia (green-blind)
#C3B156
Tritanopia (blue-blind)
#BDAB9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b550;
/* rgb */ color: rgb(178, 181, 80);
/* oklch */ color: oklch(75.0% 0.124 110.6);
Tailwind
colors: {
  custom: {
    50: '#cbcb85',
    500: '#b2b550',
    950: '#000000',
  },
}
SCSS
$custom: #b2b550;
$custom-light: #cbcb85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b550",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 80
  },
  "hsl": {
    "h": 61.782,
    "s": 40.562,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7502,
    "c": 0.12444,
    "h": 110.6
  },
  "luminance": 0.43092
}

Semantic roles & 50–950 ramp

primary
#B2B550
secondary
#9B9AC7
accent
#57D05B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B550

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

Preview Lab → · Contrast checker → · Palette generator →

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