#BDB828#BDB828

#BDB828 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.3% C 0.153 H 107.4°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#BDB828
RGBrgb(189, 184, 40)
HSLhsl(58, 65%, 45%)
HSVhsv(58, 79%, 74%)
CMYKcmyk(0%, 2.6%, 78.8%, 25.9%)
CIE-LABlab(73.06, -13.89, 67.36)
CIE-LCHlch(73.06, 68.78, 101.65°)
OKLaboklab(76.3% -0.0459 0.1462)
OKLCHoklch(76.3% 0.153 107.4)
XYZxyz(38.5114, 45.2544, 8.7134)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB828 #282DBD
analogous
#BD6E28 #BDB828 #77BD28
triadic
#BDB828 #28BDB8 #B828BD
tetradic
#BDB828 #28BD6E #282DBD #BD2877
square
#BDB828 #28BD6E #282DBD #BD2877
split-complementary
#BDB828 #2877BD #6E28BD
monochromatic
#585613 #8A871D #BDB828 #D9D44A #E3E07C

Accessibility & contrast

On white

2.09
#BDB828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#BDB828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB828
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB828#FFFFFF#000000##000000
##BDB8281.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#CBB635
Tritanopia (blue-blind)
#CBAB9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bdb828;
/* rgb */ color: rgb(189, 184, 40);
/* oklch */ color: oklch(76.3% 0.153 107.4);
Tailwind
colors: {
  custom: {
    50: '#d5cd6f',
    500: '#bdb828',
    950: '#000000',
  },
}
SCSS
$custom: #bdb828;
$custom-light: #d5cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb828",
  "rgb": {
    "r": 189,
    "g": 184,
    "b": 40
  },
  "hsl": {
    "h": 57.987,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76299,
    "c": 0.15328,
    "h": 107.4
  },
  "luminance": 0.45253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BDB828

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

Preview Lab → · Contrast checker → · Palette generator →

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