#BDBC31#BDBC31

#BDBC31 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.2% C 0.152 H 109.1°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#BDBC31
RGBrgb(189, 188, 49)
HSLhsl(60, 59%, 47%)
HSVhsv(60, 74%, 74%)
CMYKcmyk(0%, 0.5%, 74.1%, 25.9%)
CIE-LABlab(74.19, -15.57, 65.59)
CIE-LCHlch(74.19, 67.41, 103.35°)
OKLaboklab(77.22% -0.0498 0.1441)
OKLCHoklch(77.22% 0.152 109.1)
XYZxyz(39.5253, 47.0082, 9.8966)
Luminance0.4701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBC31 #3132BD
analogous
#BD7631 #BDBC31 #78BD31
triadic
#BDBC31 #31BDBC #BC31BD
tetradic
#BDBC31 #31BD76 #3132BD #BD3178
square
#BDBC31 #31BD76 #3132BD #BD3178
split-complementary
#BDBC31 #3178BD #7631BD
monochromatic
#5C5B18 #8C8C24 #BDBC31 #D4D358 #E0E088

Accessibility & contrast

On white

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

On black

10.40
#BDBC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBC31
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBC31#FFFFFF#000000##000000
##BDBC311.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdbc31;
/* rgb */ color: rgb(189, 188, 49);
/* oklch */ color: oklch(77.2% 0.152 109.1);
Tailwind
colors: {
  custom: {
    50: '#d5cf74',
    500: '#bdbc31',
    950: '#000000',
  },
}
SCSS
$custom: #bdbc31;
$custom-light: #d5cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbc31",
  "rgb": {
    "r": 189,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 59.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7722,
    "c": 0.15247,
    "h": 109.1
  },
  "luminance": 0.47007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BDBC31

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

Preview Lab → · Contrast checker → · Palette generator →

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