#BDB728#BDB728

#BDB728 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.1% C 0.152 H 107.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#BDB728
RGBrgb(189, 183, 40)
HSLhsl(58, 65%, 45%)
HSVhsv(58, 79%, 74%)
CMYKcmyk(0%, 3.2%, 78.8%, 25.9%)
CIE-LABlab(72.79, -13.38, 67.12)
CIE-LCHlch(72.79, 68.44, 101.27°)
OKLaboklab(76.08% -0.0445 0.1457)
OKLCHoklch(76.08% 0.152 107)
XYZxyz(38.3044, 44.8404, 8.6444)
Luminance0.4484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB728 #282EBD
analogous
#BD6D28 #BDB728 #78BD28
triadic
#BDB728 #28BDB7 #B728BD
tetradic
#BDB728 #28BD6D #282EBD #BD2878
square
#BDB728 #28BD6D #282EBD #BD2878
split-complementary
#BDB728 #2878BD #6D28BD
monochromatic
#585513 #8A861D #BDB728 #D9D34A #E3DF7C

Accessibility & contrast

On white

2.11
#BDB728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#BDB728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB728
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB728#FFFFFF#000000##000000
##BDB7281.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#CAB534
Tritanopia (blue-blind)
#CBAA9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bdb728;
/* rgb */ color: rgb(189, 183, 40);
/* oklch */ color: oklch(76.1% 0.152 107.0);
Tailwind
colors: {
  custom: {
    50: '#d5cc6f',
    500: '#bdb728',
    950: '#000000',
  },
}
SCSS
$custom: #bdb728;
$custom-light: #d5cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb728",
  "rgb": {
    "r": 189,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 57.584,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76082,
    "c": 0.15236,
    "h": 107
  },
  "luminance": 0.44839
}

Semantic roles & 50–950 ramp

primary
#BDB728
secondary
#7579CB
accent
#47E840
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB728

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

Preview Lab → · Contrast checker → · Palette generator →

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