#BDB521#BDB521

#BDB521 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.80:1 contrast (WCAG AA passes).

Color values

HEX#BDB521
RGBrgb(189, 181, 33)
HSLhsl(57, 70%, 44%)
HSVhsv(57, 83%, 74%)
CMYKcmyk(0%, 4.2%, 82.5%, 25.9%)
CIE-LABlab(72.21, -12.58, 68.55)
CIE-LCHlch(72.21, 69.69, 100.40°)
OKLaboklab(75.62% -0.0428 0.1475)
OKLCHoklch(75.62% 0.154 106.2)
XYZxyz(37.7863, 43.9778, 7.9367)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB521 #2129BD
analogous
#BD6721 #BDB521 #77BD21
triadic
#BDB521 #21BDB5 #B521BD
tetradic
#BDB521 #21BD67 #2129BD #BD2177
square
#BDB521 #21BD67 #2129BD #BD2177
split-complementary
#BDB521 #2177BD #6721BD
monochromatic
#55510F #898318 #BDB521 #DDD53E #E6E072

Accessibility & contrast

On white

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

On black

9.80
#BDB521 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB521
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB521#FFFFFF#000000##000000
##BDB5211.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdb521;
/* rgb */ color: rgb(189, 181, 33);
/* oklch */ color: oklch(75.6% 0.154 106.2);
Tailwind
colors: {
  custom: {
    50: '#d5ca6c',
    500: '#bdb521',
    950: '#000000',
  },
}
SCSS
$custom: #bdb521;
$custom-light: #d5ca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb521",
  "rgb": {
    "r": 189,
    "g": 181,
    "b": 33
  },
  "hsl": {
    "h": 56.923,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.75616,
    "c": 0.15359,
    "h": 106.2
  },
  "luminance": 0.43976
}

Semantic roles & 50–950 ramp

primary
#BDB521
secondary
#6D72CD
accent
#44ED3B
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151308
muted
#83827A

Preview Lab

Preview with #BDB521

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

Preview Lab → · Contrast checker → · Palette generator →

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