#B2B533#B2B533

#B2B533 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.147 H 110.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B2B533
RGBrgb(178, 181, 51)
HSLhsl(61, 56%, 45%)
HSVhsv(61, 72%, 71%)
CMYKcmyk(1.7%, 0%, 71.8%, 29%)
CIE-LABlab(71.39, -16.64, 61.92)
CIE-LCHlch(71.39, 64.12, 105.05°)
OKLaboklab(74.76% -0.0521 0.1371)
OKLCHoklch(74.76% 0.147 110.8)
XYZxyz(35.4827, 42.7527, 9.5143)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B533 #3633B5
analogous
#B57733 #B2B533 #71B533
triadic
#B2B533 #33B2B5 #B533B2
tetradic
#B2B533 #33B577 #3633B5 #B53371
square
#B2B533 #33B577 #3633B5 #B53371
split-complementary
#B2B533 #3371B5 #7733B5
monochromatic
#545618 #838526 #B2B533 #CDCF56 #DBDD86

Accessibility & contrast

On white

2.20
#B2B533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B2B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B533
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B533#FFFFFF#000000##000000
##B2B5331.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1B
Deuteranopia (green-blind)
#C4B13D
Tritanopia (blue-blind)
#BEAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b533;
/* rgb */ color: rgb(178, 181, 51);
/* oklch */ color: oklch(74.8% 0.147 110.8);
Tailwind
colors: {
  custom: {
    50: '#ccca74',
    500: '#b2b533',
    950: '#000000',
  },
}
SCSS
$custom: #b2b533;
$custom-light: #ccca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b533",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 61.385,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74762,
    "c": 0.14664,
    "h": 110.8
  },
  "luminance": 0.42752
}

Semantic roles & 50–950 ramp

primary
#B2B533
secondary
#7F7DC6
accent
#48DF4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B533

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

Preview Lab → · Contrast checker → · Palette generator →

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