#BDBD28#BDBD28

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

Color values

HEX#BDBD28
RGBrgb(189, 189, 40)
HSLhsl(60, 65%, 45%)
HSVhsv(60, 79%, 74%)
CMYKcmyk(0%, 0%, 78.8%, 25.9%)
CIE-LABlab(74.42, -16.42, 68.57)
CIE-LCHlch(74.42, 70.51, 103.47°)
OKLaboklab(77.39% -0.0529 0.1488)
OKLCHoklch(77.39% 0.158 109.6)
XYZxyz(39.5684, 47.3684, 9.0658)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD28 #2828BD
analogous
#BD7328 #BDBD28 #73BD28
triadic
#BDBD28 #28BDBD #BD28BD
tetradic
#BDBD28 #28BD73 #2828BD #BD2873
square
#BDBD28 #28BD73 #2828BD #BD2873
split-complementary
#BDBD28 #2873BD #7328BD
monochromatic
#585813 #8A8A1D #BDBD28 #D9D94A #E3E37C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDBD28#FFFFFF#000000##000000
##BDBD281.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)
#CEB936
Tritanopia (blue-blind)
#CBB1A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bdbd28;
/* rgb */ color: rgb(189, 189, 40);
/* oklch */ color: oklch(77.4% 0.158 109.6);
Tailwind
colors: {
  custom: {
    50: '#d5d070',
    500: '#bdbd28',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd28;
$custom-light: #d5d070;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd28",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7739,
    "c": 0.15797,
    "h": 109.6
  },
  "luminance": 0.47367
}

Semantic roles & 50–950 ramp

primary
#BDBD28
secondary
#7575CB
accent
#40E840
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBD28

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

Preview Lab → · Contrast checker → · Palette generator →

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