#BDB928#BDB928

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

Color values

HEX#BDB928
RGBrgb(189, 185, 40)
HSLhsl(58, 65%, 45%)
HSVhsv(58, 79%, 74%)
CMYKcmyk(0%, 2.1%, 78.8%, 25.9%)
CIE-LABlab(73.33, -14.40, 67.61)
CIE-LCHlch(73.33, 69.12, 102.02°)
OKLaboklab(76.52% -0.0473 0.1468)
OKLCHoklch(76.52% 0.154 107.9)
XYZxyz(38.7198, 45.6713, 8.7829)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB928 #282CBD
analogous
#BD6E28 #BDB928 #77BD28
triadic
#BDB928 #28BDB9 #B928BD
tetradic
#BDB928 #28BD6E #282CBD #BD2877
square
#BDB928 #28BD6E #282CBD #BD2877
split-complementary
#BDB928 #2877BD #6E28BD
monochromatic
#585613 #8A881D #BDB928 #D9D54A #E3E17C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDB928#FFFFFF#000000##000000
##BDB9281.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)
#CBB635
Tritanopia (blue-blind)
#CBAC9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bdb928;
/* rgb */ color: rgb(189, 185, 40);
/* oklch */ color: oklch(76.5% 0.154 107.9);
Tailwind
colors: {
  custom: {
    50: '#d5cd6f',
    500: '#bdb928',
    950: '#000000',
  },
}
SCSS
$custom: #bdb928;
$custom-light: #d5cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb928",
  "rgb": {
    "r": 189,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 58.389,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76517,
    "c": 0.1542,
    "h": 107.9
  },
  "luminance": 0.4567
}

Semantic roles & 50–950 ramp

primary
#BDB928
secondary
#7578CB
accent
#44E840
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB928

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

Preview Lab → · Contrast checker → · Palette generator →

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