#BDBB28#BDBB28

#BDBB28 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.0% C 0.156 H 108.7°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#BDBB28
RGBrgb(189, 187, 40)
HSLhsl(59, 65%, 45%)
HSVhsv(59, 79%, 74%)
CMYKcmyk(0%, 1.1%, 78.8%, 25.9%)
CIE-LABlab(73.88, -15.41, 68.09)
CIE-LCHlch(73.88, 69.81, 102.75°)
OKLaboklab(76.95% -0.0501 0.1478)
OKLCHoklch(76.95% 0.156 108.7)
XYZxyz(39.1411, 46.5139, 8.9234)
Luminance0.4651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBB28 #282ABD
analogous
#BD7128 #BDBB28 #74BD28
triadic
#BDBB28 #28BDBB #BB28BD
tetradic
#BDBB28 #28BD71 #282ABD #BD2874
square
#BDBB28 #28BD71 #282ABD #BD2874
split-complementary
#BDBB28 #2874BD #7128BD
monochromatic
#585713 #8A891D #BDBB28 #D9D74A #E3E27C

Accessibility & contrast

On white

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

On black

10.30
#BDBB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBB28
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBB28#FFFFFF#000000##000000
##BDBB281.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdbb28;
/* rgb */ color: rgb(189, 187, 40);
/* oklch */ color: oklch(77.0% 0.156 108.7);
Tailwind
colors: {
  custom: {
    50: '#d5cf70',
    500: '#bdbb28',
    950: '#000000',
  },
}
SCSS
$custom: #bdbb28;
$custom-light: #d5cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbb28",
  "rgb": {
    "r": 189,
    "g": 187,
    "b": 40
  },
  "hsl": {
    "h": 59.195,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76953,
    "c": 0.15608,
    "h": 108.7
  },
  "luminance": 0.46513
}

Semantic roles & 50–950 ramp

primary
#BDBB28
secondary
#7576CB
accent
#42E840
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBB28

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

Preview Lab → · Contrast checker → · Palette generator →

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