#BDB520#BDB520

#BDB520 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.6% C 0.154 H 106.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#BDB520
RGBrgb(189, 181, 32)
HSLhsl(57, 71%, 43%)
HSVhsv(57, 83%, 74%)
CMYKcmyk(0%, 4.2%, 83.1%, 25.9%)
CIE-LABlab(72.21, -12.61, 68.80)
CIE-LCHlch(72.21, 69.94, 100.39°)
OKLaboklab(75.61% -0.0429 0.1479)
OKLCHoklch(75.61% 0.154 106.2)
XYZxyz(37.7725, 43.9723, 7.8641)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB520 #2028BD
analogous
#BD6720 #BDB520 #76BD20
triadic
#BDB520 #20BDB5 #B520BD
tetradic
#BDB520 #20BD67 #2028BD #BD2076
square
#BDB520 #20BD67 #2028BD #BD2076
split-complementary
#BDB520 #2076BD #6720BD
monochromatic
#54510E #898317 #BDB520 #DED63C #E7E171

Accessibility & contrast

On white

2.14
#BDB520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#BDB520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB520
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB520#FFFFFF#000000##000000
##BDB5201.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C9B42E
Tritanopia (blue-blind)
#CCA89B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bdb520;
/* rgb */ color: rgb(189, 181, 32);
/* oklch */ color: oklch(75.6% 0.154 106.2);
Tailwind
colors: {
  custom: {
    50: '#d5ca6c',
    500: '#bdb520',
    950: '#000000',
  },
}
SCSS
$custom: #bdb520;
$custom-light: #d5ca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb520",
  "rgb": {
    "r": 189,
    "g": 181,
    "b": 32
  },
  "hsl": {
    "h": 56.943,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.75612,
    "c": 0.15398,
    "h": 106.2
  },
  "luminance": 0.43971
}

Semantic roles & 50–950 ramp

primary
#BDB520
secondary
#6B70CD
accent
#43EE3A
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151308
muted
#83827A

Preview Lab

Preview with #BDB520

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

Preview Lab → · Contrast checker → · Palette generator →

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