#BDB821#BDB821

#BDB821 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.3% C 0.156 H 107.5°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#BDB821
RGBrgb(189, 184, 33)
HSLhsl(58, 70%, 44%)
HSVhsv(58, 83%, 74%)
CMYKcmyk(0%, 2.6%, 82.5%, 25.9%)
CIE-LABlab(73.03, -14.11, 69.24)
CIE-LCHlch(73.03, 70.66, 101.52°)
OKLaboklab(76.27% -0.047 0.149)
OKLCHoklch(76.27% 0.156 107.5)
XYZxyz(38.4029, 45.2110, 8.1423)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB821 #2126BD
analogous
#BD6A21 #BDB821 #74BD21
triadic
#BDB821 #21BDB8 #B821BD
tetradic
#BDB821 #21BD6A #2126BD #BD2174
square
#BDB821 #21BD6A #2126BD #BD2174
split-complementary
#BDB821 #2174BD #6A21BD
monochromatic
#55530F #898518 #BDB821 #DDD83E #E6E372

Accessibility & contrast

On white

2.09
#BDB821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#BDB821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB821
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB821#FFFFFF#000000##000000
##BDB8211.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#CBB630
Tritanopia (blue-blind)
#CBAB9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bdb821;
/* rgb */ color: rgb(189, 184, 33);
/* oklch */ color: oklch(76.3% 0.156 107.5);
Tailwind
colors: {
  custom: {
    50: '#d5cd6d',
    500: '#bdb821',
    950: '#000000',
  },
}
SCSS
$custom: #bdb821;
$custom-light: #d5cd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb821",
  "rgb": {
    "r": 189,
    "g": 184,
    "b": 33
  },
  "hsl": {
    "h": 58.077,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76268,
    "c": 0.15627,
    "h": 107.5
  },
  "luminance": 0.4521
}

Semantic roles & 50–950 ramp

primary
#BDB821
secondary
#6D70CD
accent
#40ED3B
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB821

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

Preview Lab → · Contrast checker → · Palette generator →

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