#BDA521#BDA521

#BDA521 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.141 H 97.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#BDA521
RGBrgb(189, 165, 33)
HSLhsl(51, 70%, 44%)
HSVhsv(51, 83%, 74%)
CMYKcmyk(0%, 12.7%, 82.5%, 25.9%)
CIE-LABlab(67.90, -4.23, 64.87)
CIE-LCHlch(67.90, 65.01, 93.74°)
OKLaboklab(72.19% -0.0194 0.1395)
OKLCHoklch(72.19% 0.141 97.9)
XYZxyz(34.7178, 37.8408, 6.9139)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA521 #2139BD
analogous
#BD5721 #BDA521 #87BD21
triadic
#BDA521 #21BDA5 #A521BD
tetradic
#BDA521 #21BD57 #2139BD #BD2187
square
#BDA521 #21BD57 #2139BD #BD2187
split-complementary
#BDA521 #2187BD #5721BD
monochromatic
#554A0F #897818 #BDA521 #DDC53E #E6D472

Accessibility & contrast

On white

2.45
#BDA521 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#BDA521 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA521
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA521#FFFFFF#000000##000000
##BDA5211.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#BDA92C
Tritanopia (blue-blind)
#CD988D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bda521;
/* rgb */ color: rgb(189, 165, 33);
/* oklch */ color: oklch(72.2% 0.141 97.9);
Tailwind
colors: {
  custom: {
    50: '#d5bf6a',
    500: '#bda521',
    950: '#000000',
  },
}
SCSS
$custom: #bda521;
$custom-light: #d5bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#bda521",
  "rgb": {
    "r": 189,
    "g": 165,
    "b": 33
  },
  "hsl": {
    "h": 50.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7219,
    "c": 0.14085,
    "h": 97.9
  },
  "luminance": 0.37839
}

Semantic roles & 50–950 ramp

primary
#BDA521
secondary
#6D7BCD
accent
#56ED3B
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDA521

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

Preview Lab → · Contrast checker → · Palette generator →

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