#BDAB21#BDAB21

#BDAB21 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.145 H 101.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#BDAB21
RGBrgb(189, 171, 33)
HSLhsl(53, 70%, 44%)
HSVhsv(53, 83%, 74%)
CMYKcmyk(0%, 9.5%, 82.5%, 25.9%)
CIE-LABlab(69.51, -7.40, 66.24)
CIE-LCHlch(69.51, 66.66, 96.37°)
OKLaboklab(73.46% -0.0283 0.1425)
OKLCHoklch(73.46% 0.145 101.2)
XYZxyz(35.8255, 40.0562, 7.2831)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAB21 #2133BD
analogous
#BD5D21 #BDAB21 #81BD21
triadic
#BDAB21 #21BDAB #AB21BD
tetradic
#BDAB21 #21BD5D #2133BD #BD2181
square
#BDAB21 #21BD5D #2133BD #BD2181
split-complementary
#BDAB21 #2181BD #5D21BD
monochromatic
#554D0F #897C18 #BDAB21 #DDCB3E #E6D972

Accessibility & contrast

On white

2.33
#BDAB21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#BDAB21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAB21
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAB21#FFFFFF#000000##000000
##BDAB211.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#C1AD2D
Tritanopia (blue-blind)
#CC9E92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bdab21;
/* rgb */ color: rgb(189, 171, 33);
/* oklch */ color: oklch(73.5% 0.145 101.2);
Tailwind
colors: {
  custom: {
    50: '#d5c36b',
    500: '#bdab21',
    950: '#000000',
  },
}
SCSS
$custom: #bdab21;
$custom-light: #d5c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdab21",
  "rgb": {
    "r": 189,
    "g": 171,
    "b": 33
  },
  "hsl": {
    "h": 53.077,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73464,
    "c": 0.14528,
    "h": 101.2
  },
  "luminance": 0.40054
}

Semantic roles & 50–950 ramp

primary
#BDAB21
secondary
#6D78CD
accent
#4FED3B
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDAB21

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

Preview Lab → · Contrast checker → · Palette generator →

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