#BDBA31#BDBA31

#BDBA31 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.8% C 0.151 H 108.2°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#BDBA31
RGBrgb(189, 186, 49)
HSLhsl(59, 59%, 47%)
HSVhsv(59, 74%, 74%)
CMYKcmyk(0%, 1.6%, 74.1%, 25.9%)
CIE-LABlab(73.65, -14.55, 65.07)
CIE-LCHlch(73.65, 66.68, 102.61°)
OKLaboklab(76.78% -0.047 0.143)
OKLCHoklch(76.78% 0.151 108.2)
XYZxyz(39.1011, 46.1597, 9.7552)
Luminance0.4616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBA31 #3134BD
analogous
#BD7431 #BDBA31 #7ABD31
triadic
#BDBA31 #31BDBA #BA31BD
tetradic
#BDBA31 #31BD74 #3134BD #BD317A
square
#BDBA31 #31BD74 #3134BD #BD317A
split-complementary
#BDBA31 #317ABD #7431BD
monochromatic
#5C5A18 #8C8A24 #BDBA31 #D4D158 #E0DE88

Accessibility & contrast

On white

2.05
#BDBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#BDBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBA31
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBA31#FFFFFF#000000##000000
##BDBA311.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB213
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#CBAEA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bdba31;
/* rgb */ color: rgb(189, 186, 49);
/* oklch */ color: oklch(76.8% 0.151 108.2);
Tailwind
colors: {
  custom: {
    50: '#d5ce74',
    500: '#bdba31',
    950: '#000000',
  },
}
SCSS
$custom: #bdba31;
$custom-light: #d5ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#bdba31",
  "rgb": {
    "r": 189,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 58.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76784,
    "c": 0.15054,
    "h": 108.2
  },
  "luminance": 0.46158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BDBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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