#BDAD21#BDAD21

#BDAD21 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.9% C 0.147 H 102.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#BDAD21
RGBrgb(189, 173, 33)
HSLhsl(54, 70%, 44%)
HSVhsv(54, 83%, 74%)
CMYKcmyk(0%, 8.5%, 82.5%, 25.9%)
CIE-LABlab(70.05, -8.44, 66.70)
CIE-LCHlch(70.05, 67.24, 97.21°)
OKLaboklab(73.89% -0.0312 0.1435)
OKLCHoklch(73.89% 0.147 102.3)
XYZxyz(36.2061, 40.8174, 7.4100)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAD21 #2131BD
analogous
#BD5F21 #BDAD21 #7FBD21
triadic
#BDAD21 #21BDAD #AD21BD
tetradic
#BDAD21 #21BD5F #2131BD #BD217F
square
#BDAD21 #21BD5F #2131BD #BD217F
split-complementary
#BDAD21 #217FBD #5F21BD
monochromatic
#554E0F #897D18 #BDAD21 #DDCD3E #E6DA72

Accessibility & contrast

On white

2.29
#BDAD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#BDAD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAD21
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAD21#FFFFFF#000000##000000
##BDAD211.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#C3AE2D
Tritanopia (blue-blind)
#CCA094
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bdad21;
/* rgb */ color: rgb(189, 173, 33);
/* oklch */ color: oklch(73.9% 0.147 102.3);
Tailwind
colors: {
  custom: {
    50: '#d5c56b',
    500: '#bdad21',
    950: '#000000',
  },
}
SCSS
$custom: #bdad21;
$custom-light: #d5c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdad21",
  "rgb": {
    "r": 189,
    "g": 173,
    "b": 33
  },
  "hsl": {
    "h": 53.846,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73892,
    "c": 0.14686,
    "h": 102.3
  },
  "luminance": 0.40816
}

Semantic roles & 50–950 ramp

primary
#BDAD21
secondary
#6D77CD
accent
#4DED3B
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDAD21

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

Preview Lab → · Contrast checker → · Palette generator →

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