#BDBD31#BDBD31

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

Color values

HEX#BDBD31
RGBrgb(189, 189, 49)
HSLhsl(60, 59%, 47%)
HSVhsv(60, 74%, 74%)
CMYKcmyk(0%, 0%, 74.1%, 25.9%)
CIE-LABlab(74.47, -16.07, 65.84)
CIE-LCHlch(74.47, 67.77, 103.72°)
OKLaboklab(77.44% -0.0512 0.1447)
OKLCHoklch(77.44% 0.153 109.5)
XYZxyz(39.7397, 47.4370, 9.9680)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD31 #3131BD
analogous
#BD7731 #BDBD31 #77BD31
triadic
#BDBD31 #31BDBD #BD31BD
tetradic
#BDBD31 #31BD77 #3131BD #BD3177
square
#BDBD31 #31BD77 #3131BD #BD3177
split-complementary
#BDBD31 #3177BD #7731BD
monochromatic
#5C5C18 #8C8C24 #BDBD31 #D4D458 #E0E088

Accessibility & contrast

On white

2.00
#BDBD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#BDBD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD31
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD31#FFFFFF#000000##000000
##BDBD311.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB512
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#CBB1A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bdbd31;
/* rgb */ color: rgb(189, 189, 49);
/* oklch */ color: oklch(77.4% 0.153 109.5);
Tailwind
colors: {
  custom: {
    50: '#d5d074',
    500: '#bdbd31',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd31;
$custom-light: #d5d074;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd31",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 60,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77439,
    "c": 0.15346,
    "h": 109.5
  },
  "luminance": 0.47436
}

Semantic roles & 50–950 ramp

primary
#BDBD31
secondary
#8080CA
accent
#46E246
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDBD31

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

Preview Lab → · Contrast checker → · Palette generator →

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