#BDBA28#BDBA28

#BDBA28 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.7% C 0.155 H 108.3°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#BDBA28
RGBrgb(189, 186, 40)
HSLhsl(59, 65%, 45%)
HSVhsv(59, 79%, 74%)
CMYKcmyk(0%, 1.6%, 78.8%, 25.9%)
CIE-LABlab(73.60, -14.90, 67.85)
CIE-LCHlch(73.60, 69.46, 102.39°)
OKLaboklab(76.74% -0.0487 0.1473)
OKLCHoklch(76.74% 0.155 108.3)
XYZxyz(38.9297, 46.0911, 8.8529)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBA28 #282BBD
analogous
#BD7028 #BDBA28 #75BD28
triadic
#BDBA28 #28BDBA #BA28BD
tetradic
#BDBA28 #28BD70 #282BBD #BD2875
square
#BDBA28 #28BD70 #282BBD #BD2875
split-complementary
#BDBA28 #2875BD #7028BD
monochromatic
#585713 #8A881D #BDBA28 #D9D64A #E3E17C

Accessibility & contrast

On white

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

On black

10.22
#BDBA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBA28
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBA28#FFFFFF#000000##000000
##BDBA281.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdba28;
/* rgb */ color: rgb(189, 186, 40);
/* oklch */ color: oklch(76.7% 0.155 108.3);
Tailwind
colors: {
  custom: {
    50: '#d5ce70',
    500: '#bdba28',
    950: '#000000',
  },
}
SCSS
$custom: #bdba28;
$custom-light: #d5ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#bdba28",
  "rgb": {
    "r": 189,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 58.792,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76735,
    "c": 0.15514,
    "h": 108.3
  },
  "luminance": 0.4609
}

Semantic roles & 50–950 ramp

primary
#BDBA28
secondary
#7577CB
accent
#43E840
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBA28

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

Preview Lab → · Contrast checker → · Palette generator →

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