#BDB628#BDB628

#BDB628 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.151 H 106.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#BDB628
RGBrgb(189, 182, 40)
HSLhsl(57, 65%, 45%)
HSVhsv(57, 79%, 74%)
CMYKcmyk(0%, 3.7%, 78.8%, 25.9%)
CIE-LABlab(72.51, -12.87, 66.88)
CIE-LCHlch(72.51, 68.11, 100.89°)
OKLaboklab(75.87% -0.0431 0.1452)
OKLCHoklch(75.87% 0.151 106.5)
XYZxyz(38.0988, 44.4293, 8.5759)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB628 #282FBD
analogous
#BD6B28 #BDB628 #7ABD28
triadic
#BDB628 #28BDB6 #B628BD
tetradic
#BDB628 #28BD6B #282FBD #BD287A
square
#BDB628 #28BD6B #282FBD #BD287A
split-complementary
#BDB628 #287ABD #6B28BD
monochromatic
#585513 #8A851D #BDB628 #D9D24A #E3DE7C

Accessibility & contrast

On white

2.12
#BDB628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#BDB628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB628
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB628#FFFFFF#000000##000000
##BDB6281.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C9B434
Tritanopia (blue-blind)
#CBA99C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bdb628;
/* rgb */ color: rgb(189, 182, 40);
/* oklch */ color: oklch(75.9% 0.151 106.5);
Tailwind
colors: {
  custom: {
    50: '#d5cb6f',
    500: '#bdb628',
    950: '#000000',
  },
}
SCSS
$custom: #bdb628;
$custom-light: #d5cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb628",
  "rgb": {
    "r": 189,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 57.181,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75865,
    "c": 0.15145,
    "h": 106.5
  },
  "luminance": 0.44428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BDB628

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

Preview Lab → · Contrast checker → · Palette generator →

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