#BDA921#BDA921

#BDA921 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.0% C 0.144 H 100.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#BDA921
RGBrgb(189, 169, 33)
HSLhsl(52, 70%, 44%)
HSVhsv(52, 83%, 74%)
CMYKcmyk(0%, 10.6%, 82.5%, 25.9%)
CIE-LABlab(68.97, -6.35, 65.79)
CIE-LCHlch(68.97, 66.09, 95.51°)
OKLaboklab(73.04% -0.0253 0.1415)
OKLCHoklch(73.04% 0.144 100.2)
XYZxyz(35.4506, 39.3063, 7.1581)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA921 #2135BD
analogous
#BD5B21 #BDA921 #83BD21
triadic
#BDA921 #21BDA9 #A921BD
tetradic
#BDA921 #21BD5B #2135BD #BD2183
square
#BDA921 #21BD5B #2135BD #BD2183
split-complementary
#BDA921 #2183BD #5B21BD
monochromatic
#554C0F #897A18 #BDA921 #DDC93E #E6D772

Accessibility & contrast

On white

2.37
#BDA921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#BDA921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA921
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA921#FFFFFF#000000##000000
##BDA9211.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#C0AC2D
Tritanopia (blue-blind)
#CC9C91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bda921;
/* rgb */ color: rgb(189, 169, 33);
/* oklch */ color: oklch(73.0% 0.144 100.2);
Tailwind
colors: {
  custom: {
    50: '#d5c26a',
    500: '#bda921',
    950: '#000000',
  },
}
SCSS
$custom: #bda921;
$custom-light: #d5c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#bda921",
  "rgb": {
    "r": 189,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 52.308,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73038,
    "c": 0.14375,
    "h": 100.2
  },
  "luminance": 0.39305
}

Semantic roles & 50–950 ramp

primary
#BDA921
secondary
#6D79CD
accent
#52ED3B
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDA921

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

Preview Lab → · Contrast checker → · Palette generator →

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