#B2BD21#B2BD21

#B2BD21 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.4% C 0.164 H 114.0°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#B2BD21
RGBrgb(178, 189, 33)
HSLhsl(64, 70%, 44%)
HSVhsv(64, 83%, 74%)
CMYKcmyk(5.8%, 0%, 82.5%, 25.9%)
CIE-LABlab(73.53, -21.36, 69.31)
CIE-LCHlch(73.53, 72.53, 107.13°)
OKLaboklab(76.45% -0.0666 0.1497)
OKLCHoklch(76.45% 0.164 114)
XYZxyz(36.8334, 45.9707, 8.3715)
Luminance0.4597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BD21 #2C21BD
analogous
#BD7A21 #B2BD21 #64BD21
triadic
#B2BD21 #21B2BD #BD21B2
tetradic
#B2BD21 #21BD7A #2C21BD #BD2164
square
#B2BD21 #21BD7A #2C21BD #BD2164
split-complementary
#B2BD21 #2164BD #7A21BD
monochromatic
#50550F #818918 #B2BD21 #D2DD3E #DEE672

Accessibility & contrast

On white

2.06
#B2BD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#B2BD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BD21
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BD21#FFFFFF#000000##000000
##B2BD211.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CBB632
Tritanopia (blue-blind)
#BEB1A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2bd21;
/* rgb */ color: rgb(178, 189, 33);
/* oklch */ color: oklch(76.4% 0.164 114.0);
Tailwind
colors: {
  custom: {
    50: '#cdd06d',
    500: '#b2bd21',
    950: '#000000',
  },
}
SCSS
$custom: #b2bd21;
$custom-light: #cdd06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bd21",
  "rgb": {
    "r": 178,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 64.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76448,
    "c": 0.1638,
    "h": 114
  },
  "luminance": 0.4597
}

Semantic roles & 50–950 ramp

primary
#B2BD21
secondary
#736DCD
accent
#3BED47
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B2BD21

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

Preview Lab → · Contrast checker → · Palette generator →

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