#BDB221#BDB221

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

Color values

HEX#BDB221
RGBrgb(189, 178, 33)
HSLhsl(56, 70%, 44%)
HSVhsv(56, 83%, 74%)
CMYKcmyk(0%, 5.8%, 82.5%, 25.9%)
CIE-LABlab(71.40, -11.04, 67.85)
CIE-LCHlch(71.40, 68.75, 99.24°)
OKLaboklab(74.97% -0.0385 0.146)
OKLCHoklch(74.97% 0.151 104.8)
XYZxyz(37.1829, 42.7710, 7.7356)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB221 #212CBD
analogous
#BD6421 #BDB221 #7ABD21
triadic
#BDB221 #21BDB2 #B221BD
tetradic
#BDB221 #21BD64 #212CBD #BD217A
square
#BDB221 #21BD64 #212CBD #BD217A
split-complementary
#BDB221 #217ABD #6421BD
monochromatic
#55500F #898118 #BDB221 #DDD23E #E6DE72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDB221#FFFFFF#000000##000000
##BDB2211.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)
#C3AB00
Deuteranopia (green-blind)
#C6B22E
Tritanopia (blue-blind)
#CCA598
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bdb221;
/* rgb */ color: rgb(189, 178, 33);
/* oklch */ color: oklch(75.0% 0.151 104.8);
Tailwind
colors: {
  custom: {
    50: '#d5c86c',
    500: '#bdb221',
    950: '#000000',
  },
}
SCSS
$custom: #bdb221;
$custom-light: #d5c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb221",
  "rgb": {
    "r": 189,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 55.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74967,
    "c": 0.15099,
    "h": 104.8
  },
  "luminance": 0.42769
}

Semantic roles & 50–950 ramp

primary
#BDB221
secondary
#6D73CD
accent
#47ED3B
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151308
muted
#83827A

Preview Lab

Preview with #BDB221

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

Preview Lab → · Contrast checker → · Palette generator →

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