#BDBB21#BDBB21

#BDBB21 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.9% C 0.159 H 108.8°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#BDBB21
RGBrgb(189, 187, 33)
HSLhsl(59, 70%, 44%)
HSVhsv(59, 83%, 74%)
CMYKcmyk(0%, 1.1%, 82.5%, 25.9%)
CIE-LABlab(73.85, -15.63, 69.93)
CIE-LCHlch(73.85, 71.66, 102.60°)
OKLaboklab(76.92% -0.0513 0.1505)
OKLCHoklch(76.92% 0.159 108.8)
XYZxyz(39.0327, 46.4706, 8.3522)
Luminance0.4647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBB21 #2123BD
analogous
#BD6D21 #BDBB21 #71BD21
triadic
#BDBB21 #21BDBB #BB21BD
tetradic
#BDBB21 #21BD6D #2123BD #BD2171
square
#BDBB21 #21BD6D #2123BD #BD2171
split-complementary
#BDBB21 #2171BD #6D21BD
monochromatic
#55540F #898718 #BDBB21 #DDDB3E #E6E572

Accessibility & contrast

On white

2.04
#BDBB21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#BDBB21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBB21
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBB21#FFFFFF#000000##000000
##BDBB211.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdbb21;
/* rgb */ color: rgb(189, 187, 33);
/* oklch */ color: oklch(76.9% 0.159 108.8);
Tailwind
colors: {
  custom: {
    50: '#d5cf6d',
    500: '#bdbb21',
    950: '#000000',
  },
}
SCSS
$custom: #bdbb21;
$custom-light: #d5cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbb21",
  "rgb": {
    "r": 189,
    "g": 187,
    "b": 33
  },
  "hsl": {
    "h": 59.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76922,
    "c": 0.15901,
    "h": 108.8
  },
  "luminance": 0.46469
}

Semantic roles & 50–950 ramp

primary
#BDBB21
secondary
#6D6ECD
accent
#3DED3B
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBB21

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

Preview Lab → · Contrast checker → · Palette generator →

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