#BDB921#BDB921

#BDB921 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.5% C 0.157 H 108.0°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#BDB921
RGBrgb(189, 185, 33)
HSLhsl(58, 70%, 44%)
HSVhsv(58, 83%, 74%)
CMYKcmyk(0%, 2.1%, 82.5%, 25.9%)
CIE-LABlab(73.30, -14.62, 69.47)
CIE-LCHlch(73.30, 70.99, 101.89°)
OKLaboklab(76.49% -0.0485 0.1495)
OKLCHoklch(76.49% 0.157 108)
XYZxyz(38.6114, 45.6279, 8.2117)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB921 #2125BD
analogous
#BD6B21 #BDB921 #73BD21
triadic
#BDB921 #21BDB9 #B921BD
tetradic
#BDB921 #21BD6B #2125BD #BD2173
square
#BDB921 #21BD6B #2125BD #BD2173
split-complementary
#BDB921 #2173BD #6B21BD
monochromatic
#55530F #898618 #BDB921 #DDD93E #E6E372

Accessibility & contrast

On white

2.07
#BDB921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#BDB921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB921
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB921#FFFFFF#000000##000000
##BDB9211.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CCB630
Tritanopia (blue-blind)
#CBAC9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bdb921;
/* rgb */ color: rgb(189, 185, 33);
/* oklch */ color: oklch(76.5% 0.157 108.0);
Tailwind
colors: {
  custom: {
    50: '#d5cd6d',
    500: '#bdb921',
    950: '#000000',
  },
}
SCSS
$custom: #bdb921;
$custom-light: #d5cd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb921",
  "rgb": {
    "r": 189,
    "g": 185,
    "b": 33
  },
  "hsl": {
    "h": 58.462,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76485,
    "c": 0.15718,
    "h": 108
  },
  "luminance": 0.45627
}

Semantic roles & 50–950 ramp

primary
#BDB921
secondary
#6D6FCD
accent
#3FED3B
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB921

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

Preview Lab → · Contrast checker → · Palette generator →

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