#BDBC28#BDBC28

#BDBC28 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.2% C 0.157 H 109.2°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#BDBC28
RGBrgb(189, 188, 40)
HSLhsl(60, 65%, 45%)
HSVhsv(60, 79%, 74%)
CMYKcmyk(0%, 0.5%, 78.8%, 25.9%)
CIE-LABlab(74.15, -15.92, 68.33)
CIE-LCHlch(74.15, 70.16, 103.11°)
OKLaboklab(77.17% -0.0515 0.1483)
OKLCHoklch(77.17% 0.157 109.2)
XYZxyz(39.3540, 46.9397, 8.9943)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBC28 #2829BD
analogous
#BD7128 #BDBC28 #74BD28
triadic
#BDBC28 #28BDBC #BC28BD
tetradic
#BDBC28 #28BD71 #2829BD #BD2874
square
#BDBC28 #28BD71 #2829BD #BD2874
split-complementary
#BDBC28 #2874BD #7128BD
monochromatic
#585813 #8A8A1D #BDBC28 #D9D84A #E3E37C

Accessibility & contrast

On white

2.02
#BDBC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#BDBC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBC28
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBC28#FFFFFF#000000##000000
##BDBC281.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CEB835
Tritanopia (blue-blind)
#CBAFA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bdbc28;
/* rgb */ color: rgb(189, 188, 40);
/* oklch */ color: oklch(77.2% 0.157 109.2);
Tailwind
colors: {
  custom: {
    50: '#d5cf70',
    500: '#bdbc28',
    950: '#000000',
  },
}
SCSS
$custom: #bdbc28;
$custom-light: #d5cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbc28",
  "rgb": {
    "r": 189,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 59.597,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.77171,
    "c": 0.15702,
    "h": 109.2
  },
  "luminance": 0.46938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BDBC28

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

Preview Lab → · Contrast checker → · Palette generator →

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