#BDB321#BDB321

#BDB321 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.2% C 0.152 H 105.2°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#BDB321
RGBrgb(189, 179, 33)
HSLhsl(56, 70%, 44%)
HSVhsv(56, 83%, 74%)
CMYKcmyk(0%, 5.3%, 82.5%, 25.9%)
CIE-LABlab(71.67, -11.55, 68.09)
CIE-LCHlch(71.67, 69.06, 99.63°)
OKLaboklab(75.18% -0.0399 0.1465)
OKLCHoklch(75.18% 0.152 105.2)
XYZxyz(37.3826, 43.1703, 7.8021)
Luminance0.4317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB321 #212BBD
analogous
#BD6521 #BDB321 #79BD21
triadic
#BDB321 #21BDB3 #B321BD
tetradic
#BDB321 #21BD65 #212BBD #BD2179
square
#BDB321 #21BD65 #212BBD #BD2179
split-complementary
#BDB321 #2179BD #6521BD
monochromatic
#55500F #898218 #BDB321 #DDD33E #E6DF72

Accessibility & contrast

On white

2.18
#BDB321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#BDB321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB321
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB321#FFFFFF#000000##000000
##BDB3211.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AC00
Deuteranopia (green-blind)
#C7B22F
Tritanopia (blue-blind)
#CCA699
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bdb321;
/* rgb */ color: rgb(189, 179, 33);
/* oklch */ color: oklch(75.2% 0.152 105.2);
Tailwind
colors: {
  custom: {
    50: '#d5c96c',
    500: '#bdb321',
    950: '#000000',
  },
}
SCSS
$custom: #bdb321;
$custom-light: #d5c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb321",
  "rgb": {
    "r": 189,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 56.154,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.75183,
    "c": 0.15184,
    "h": 105.2
  },
  "luminance": 0.43169
}

Semantic roles & 50–950 ramp

primary
#BDB321
secondary
#6D73CD
accent
#46ED3B
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151308
muted
#83827A

Preview Lab

Preview with #BDB321

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

Preview Lab → · Contrast checker → · Palette generator →

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