#BDAA21#BDAA21

#BDAA21 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.3% C 0.145 H 100.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#BDAA21
RGBrgb(189, 170, 33)
HSLhsl(53, 70%, 44%)
HSVhsv(53, 83%, 74%)
CMYKcmyk(0%, 10.1%, 82.5%, 25.9%)
CIE-LABlab(69.24, -6.87, 66.01)
CIE-LCHlch(69.24, 66.37, 95.94°)
OKLaboklab(73.25% -0.0268 0.142)
OKLCHoklch(73.25% 0.145 100.7)
XYZxyz(35.6373, 39.6798, 7.2204)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAA21 #2134BD
analogous
#BD5C21 #BDAA21 #82BD21
triadic
#BDAA21 #21BDAA #AA21BD
tetradic
#BDAA21 #21BD5C #2134BD #BD2182
square
#BDAA21 #21BD5C #2134BD #BD2182
split-complementary
#BDAA21 #2182BD #5C21BD
monochromatic
#554C0F #897B18 #BDAA21 #DDCA3E #E6D872

Accessibility & contrast

On white

2.35
#BDAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#BDAA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAA21
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAA21#FFFFFF#000000##000000
##BDAA211.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#C0AC2D
Tritanopia (blue-blind)
#CC9D91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bdaa21;
/* rgb */ color: rgb(189, 170, 33);
/* oklch */ color: oklch(73.3% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#d5c26b',
    500: '#bdaa21',
    950: '#000000',
  },
}
SCSS
$custom: #bdaa21;
$custom-light: #d5c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaa21",
  "rgb": {
    "r": 189,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 52.692,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73251,
    "c": 0.14451,
    "h": 100.7
  },
  "luminance": 0.39678
}

Semantic roles & 50–950 ramp

primary
#BDAA21
secondary
#6D78CD
accent
#50ED3B
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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