#BDBB31#BDBB31

#BDBB31 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.0% C 0.151 H 108.6°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#BDBB31
RGBrgb(189, 187, 49)
HSLhsl(59, 59%, 47%)
HSVhsv(59, 74%, 74%)
CMYKcmyk(0%, 1.1%, 74.1%, 25.9%)
CIE-LABlab(73.92, -15.06, 65.33)
CIE-LCHlch(73.92, 67.04, 102.98°)
OKLaboklab(77% -0.0484 0.1436)
OKLCHoklch(77% 0.152 108.6)
XYZxyz(39.3125, 46.5825, 9.8256)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBB31 #3133BD
analogous
#BD7531 #BDBB31 #79BD31
triadic
#BDBB31 #31BDBB #BB31BD
tetradic
#BDBB31 #31BD75 #3133BD #BD3179
square
#BDBB31 #31BD75 #3133BD #BD3179
split-complementary
#BDBB31 #3179BD #7531BD
monochromatic
#5C5B18 #8C8B24 #BDBB31 #D4D258 #E0DF88

Accessibility & contrast

On white

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

On black

10.32
#BDBB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBB31
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBB31#FFFFFF#000000##000000
##BDBB311.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdbb31;
/* rgb */ color: rgb(189, 187, 49);
/* oklch */ color: oklch(77.0% 0.151 108.6);
Tailwind
colors: {
  custom: {
    50: '#d5cf74',
    500: '#bdbb31',
    950: '#000000',
  },
}
SCSS
$custom: #bdbb31;
$custom-light: #d5cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbb31",
  "rgb": {
    "r": 189,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 59.143,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77002,
    "c": 0.1515,
    "h": 108.6
  },
  "luminance": 0.46581
}

Semantic roles & 50–950 ramp

primary
#BDBB31
secondary
#8081CA
accent
#48E246
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDBB31

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

Preview Lab → · Contrast checker → · Palette generator →

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