#BDA821#BDA821

#BDA821 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.143 H 99.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#BDA821
RGBrgb(189, 168, 33)
HSLhsl(52, 70%, 44%)
HSVhsv(52, 83%, 74%)
CMYKcmyk(0%, 11.1%, 82.5%, 25.9%)
CIE-LABlab(68.70, -5.82, 65.56)
CIE-LCHlch(68.70, 65.81, 95.07°)
OKLaboklab(72.83% -0.0239 0.141)
OKLCHoklch(72.83% 0.143 99.6)
XYZxyz(35.2653, 38.9357, 7.0964)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA821 #2136BD
analogous
#BD5A21 #BDA821 #84BD21
triadic
#BDA821 #21BDA8 #A821BD
tetradic
#BDA821 #21BD5A #2136BD #BD2184
square
#BDA821 #21BD5A #2136BD #BD2184
split-complementary
#BDA821 #2184BD #5A21BD
monochromatic
#554B0F #897A18 #BDA821 #DDC83E #E6D772

Accessibility & contrast

On white

2.39
#BDA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#BDA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA821
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA821#FFFFFF#000000##000000
##BDA8211.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#CC9B90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bda821;
/* rgb */ color: rgb(189, 168, 33);
/* oklch */ color: oklch(72.8% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#d5c16a',
    500: '#bda821',
    950: '#000000',
  },
}
SCSS
$custom: #bda821;
$custom-light: #d5c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#bda821",
  "rgb": {
    "r": 189,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 51.923,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72826,
    "c": 0.14301,
    "h": 99.6
  },
  "luminance": 0.38934
}

Semantic roles & 50–950 ramp

primary
#BDA821
secondary
#6D7ACD
accent
#53ED3B
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDA821

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

Preview Lab → · Contrast checker → · Palette generator →

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