#BDBD21#BDBD21

#BDBD21 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.4% C 0.161 H 109.6°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#BDBD21
RGBrgb(189, 189, 33)
HSLhsl(60, 70%, 44%)
HSVhsv(60, 83%, 74%)
CMYKcmyk(0%, 0%, 82.5%, 25.9%)
CIE-LABlab(74.40, -16.64, 70.40)
CIE-LCHlch(74.40, 72.34, 103.30°)
OKLaboklab(77.36% -0.0541 0.1515)
OKLCHoklch(77.36% 0.161 109.6)
XYZxyz(39.4599, 47.3251, 8.4946)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD21 #2121BD
analogous
#BD6F21 #BDBD21 #6FBD21
triadic
#BDBD21 #21BDBD #BD21BD
tetradic
#BDBD21 #21BD6F #2121BD #BD216F
square
#BDBD21 #21BD6F #2121BD #BD216F
split-complementary
#BDBD21 #216FBD #6F21BD
monochromatic
#55550F #898918 #BDBD21 #DDDD3E #E6E672

Accessibility & contrast

On white

2.01
#BDBD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#BDBD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD21
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD21#FFFFFF#000000##000000
##BDBD211.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CFB931
Tritanopia (blue-blind)
#CBB0A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bdbd21;
/* rgb */ color: rgb(189, 189, 33);
/* oklch */ color: oklch(77.4% 0.161 109.6);
Tailwind
colors: {
  custom: {
    50: '#d5d06d',
    500: '#bdbd21',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd21;
$custom-light: #d5d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd21",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 60,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.77359,
    "c": 0.16089,
    "h": 109.6
  },
  "luminance": 0.47324
}

Semantic roles & 50–950 ramp

primary
#BDBD21
secondary
#6D6DCD
accent
#3BED3B
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBD21

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

Preview Lab → · Contrast checker → · Palette generator →

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