#BDAC21#BDAC21

#BDAC21 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.7% C 0.146 H 101.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#BDAC21
RGBrgb(189, 172, 33)
HSLhsl(53, 70%, 44%)
HSVhsv(53, 83%, 74%)
CMYKcmyk(0%, 9%, 82.5%, 25.9%)
CIE-LABlab(69.78, -7.92, 66.47)
CIE-LCHlch(69.78, 66.94, 96.80°)
OKLaboklab(73.68% -0.0298 0.143)
OKLCHoklch(73.68% 0.146 101.8)
XYZxyz(36.0151, 40.4354, 7.3463)
Luminance0.4043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAC21 #2132BD
analogous
#BD5E21 #BDAC21 #80BD21
triadic
#BDAC21 #21BDAC #AC21BD
tetradic
#BDAC21 #21BD5E #2132BD #BD2180
square
#BDAC21 #21BD5E #2132BD #BD2180
split-complementary
#BDAC21 #2180BD #5E21BD
monochromatic
#554D0F #897D18 #BDAC21 #DDCC3E #E6DA72

Accessibility & contrast

On white

2.31
#BDAC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#BDAC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAC21
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAC21#FFFFFF#000000##000000
##BDAC211.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#C2AE2D
Tritanopia (blue-blind)
#CC9F93
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bdac21;
/* rgb */ color: rgb(189, 172, 33);
/* oklch */ color: oklch(73.7% 0.146 101.8);
Tailwind
colors: {
  custom: {
    50: '#d5c46b',
    500: '#bdac21',
    950: '#000000',
  },
}
SCSS
$custom: #bdac21;
$custom-light: #d5c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdac21",
  "rgb": {
    "r": 189,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 53.462,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73678,
    "c": 0.14606,
    "h": 101.8
  },
  "luminance": 0.40434
}

Semantic roles & 50–950 ramp

primary
#BDAC21
secondary
#6D77CD
accent
#4EED3B
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDAC21

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

Preview Lab → · Contrast checker → · Palette generator →

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