#BDA321#BDA321

#BDA321 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.8% C 0.139 H 96.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#BDA321
RGBrgb(189, 163, 33)
HSLhsl(50, 70%, 44%)
HSVhsv(50, 83%, 74%)
CMYKcmyk(0%, 13.8%, 82.5%, 25.9%)
CIE-LABlab(67.37, -3.17, 64.41)
CIE-LCHlch(67.37, 64.49, 92.82°)
OKLaboklab(71.77% -0.0164 0.1385)
OKLCHoklch(71.77% 0.139 96.8)
XYZxyz(34.3599, 37.1249, 6.7946)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA321 #213BBD
analogous
#BD5521 #BDA321 #89BD21
triadic
#BDA321 #21BDA3 #A321BD
tetradic
#BDA321 #21BD55 #213BBD #BD2189
square
#BDA321 #21BD55 #213BBD #BD2189
split-complementary
#BDA321 #2189BD #5521BD
monochromatic
#55490F #897618 #BDA321 #DDC33E #E6D372

Accessibility & contrast

On white

2.49
#BDA321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#BDA321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA321
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA321#FFFFFF#000000##000000
##BDA3211.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#BBA82B
Tritanopia (blue-blind)
#CD968C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bda321;
/* rgb */ color: rgb(189, 163, 33);
/* oklch */ color: oklch(71.8% 0.139 96.8);
Tailwind
colors: {
  custom: {
    50: '#d5bd6a',
    500: '#bda321',
    950: '#000000',
  },
}
SCSS
$custom: #bda321;
$custom-light: #d5bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#bda321",
  "rgb": {
    "r": 189,
    "g": 163,
    "b": 33
  },
  "hsl": {
    "h": 50,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71768,
    "c": 0.13948,
    "h": 96.8
  },
  "luminance": 0.37123
}

Semantic roles & 50–950 ramp

primary
#BDA321
secondary
#6D7DCD
accent
#58ED3B
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDA321

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

Preview Lab → · Contrast checker → · Palette generator →

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