#BDBA21#BDBA21

#BDBA21 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.7% C 0.158 H 108.4°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#BDBA21
RGBrgb(189, 186, 33)
HSLhsl(59, 70%, 44%)
HSVhsv(59, 83%, 74%)
CMYKcmyk(0%, 1.6%, 82.5%, 25.9%)
CIE-LABlab(73.58, -15.13, 69.70)
CIE-LCHlch(73.58, 71.33, 102.25°)
OKLaboklab(76.7% -0.0499 0.15)
OKLCHoklch(76.7% 0.158 108.4)
XYZxyz(38.8213, 46.0478, 8.2817)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBA21 #2124BD
analogous
#BD6C21 #BDBA21 #72BD21
triadic
#BDBA21 #21BDBA #BA21BD
tetradic
#BDBA21 #21BD6C #2124BD #BD2172
square
#BDBA21 #21BD6C #2124BD #BD2172
split-complementary
#BDBA21 #2172BD #6C21BD
monochromatic
#55530F #898718 #BDBA21 #DDDA3E #E6E472

Accessibility & contrast

On white

2.06
#BDBA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#BDBA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBA21
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBA21#FFFFFF#000000##000000
##BDBA211.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CCB730
Tritanopia (blue-blind)
#CBAD9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bdba21;
/* rgb */ color: rgb(189, 186, 33);
/* oklch */ color: oklch(76.7% 0.158 108.4);
Tailwind
colors: {
  custom: {
    50: '#d5ce6d',
    500: '#bdba21',
    950: '#000000',
  },
}
SCSS
$custom: #bdba21;
$custom-light: #d5ce6d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdba21",
  "rgb": {
    "r": 189,
    "g": 186,
    "b": 33
  },
  "hsl": {
    "h": 58.846,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76703,
    "c": 0.15809,
    "h": 108.4
  },
  "luminance": 0.46046
}

Semantic roles & 50–950 ramp

primary
#BDBA21
secondary
#6D6FCD
accent
#3EED3B
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBA21

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

Preview Lab → · Contrast checker → · Palette generator →

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