#BDBD22#BDBD22

#BDBD22 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.47:1 contrast (WCAG AA passes).

Color values

HEX#BDBD22
RGBrgb(189, 189, 34)
HSLhsl(60, 70%, 44%)
HSVhsv(60, 82%, 74%)
CMYKcmyk(0%, 0%, 82%, 25.9%)
CIE-LABlab(74.40, -16.61, 70.15)
CIE-LCHlch(74.40, 72.09, 103.32°)
OKLaboklab(77.36% -0.0539 0.1512)
OKLCHoklch(77.36% 0.161 109.6)
XYZxyz(39.4741, 47.3307, 8.5695)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD22 #2222BD
analogous
#BD6F22 #BDBD22 #6FBD22
triadic
#BDBD22 #22BDBD #BD22BD
tetradic
#BDBD22 #22BD6F #2222BD #BD226F
square
#BDBD22 #22BD6F #2222BD #BD226F
split-complementary
#BDBD22 #226FBD #6F22BD
monochromatic
#55550F #898919 #BDBD22 #DDDD40 #E6E673

Accessibility & contrast

On white

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

On black

10.47
#BDBD22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD22
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD22#FFFFFF#000000##000000
##BDBD221.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdbd22;
/* rgb */ color: rgb(189, 189, 34);
/* oklch */ color: oklch(77.4% 0.161 109.6);
Tailwind
colors: {
  custom: {
    50: '#d5d06e',
    500: '#bdbd22',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd22;
$custom-light: #d5d06e;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd22",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.77363,
    "c": 0.16051,
    "h": 109.6
  },
  "luminance": 0.4733
}

Semantic roles & 50–950 ramp

primary
#BDBD22
secondary
#6E6ECD
accent
#3BEC3B
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBD22

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

Preview Lab → · Contrast checker → · Palette generator →

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