#BDAC31#BDAC31

#BDAC31 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.138 H 101.1°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#BDAC31
RGBrgb(189, 172, 49)
HSLhsl(53, 59%, 47%)
HSVhsv(53, 74%, 74%)
CMYKcmyk(0%, 9%, 74.1%, 25.9%)
CIE-LABlab(69.86, -7.33, 61.49)
CIE-LCHlch(69.86, 61.93, 96.79°)
OKLaboklab(73.77% -0.0267 0.1354)
OKLCHoklch(73.77% 0.138 101.1)
XYZxyz(36.2949, 40.5473, 8.8198)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAC31 #3142BD
analogous
#BD6631 #BDAC31 #88BD31
triadic
#BDAC31 #31BDAC #AC31BD
tetradic
#BDAC31 #31BD66 #3142BD #BD3188
square
#BDAC31 #31BD66 #3142BD #BD3188
split-complementary
#BDAC31 #3188BD #6631BD
monochromatic
#5C5418 #8C8024 #BDAC31 #D4C558 #E0D688

Accessibility & contrast

On white

2.31
#BDAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#BDAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAC31
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAC31#FFFFFF#000000##000000
##BDAC311.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71A
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#CC9F94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bdac31;
/* rgb */ color: rgb(189, 172, 49);
/* oklch */ color: oklch(73.8% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#d5c472',
    500: '#bdac31',
    950: '#000000',
  },
}
SCSS
$custom: #bdac31;
$custom-light: #d5c472;
$custom-dark: #000000;
JSON
{
  "hex": "#bdac31",
  "rgb": {
    "r": 189,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 52.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73766,
    "c": 0.13802,
    "h": 101.1
  },
  "luminance": 0.40546
}

Semantic roles & 50–950 ramp

primary
#BDAC31
secondary
#8089CA
accent
#59E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BDAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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