#BDB526#BDB526

#BDB526 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.6% C 0.151 H 106.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#BDB526
RGBrgb(189, 181, 38)
HSLhsl(57, 67%, 45%)
HSVhsv(57, 80%, 74%)
CMYKcmyk(0%, 4.2%, 79.9%, 25.9%)
CIE-LABlab(72.23, -12.42, 67.21)
CIE-LCHlch(72.23, 68.35, 100.47°)
OKLaboklab(75.64% -0.042 0.1455)
OKLCHoklch(75.64% 0.151 106.1)
XYZxyz(37.8616, 44.0080, 8.3334)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB526 #262EBD
analogous
#BD6926 #BDB526 #7ABD26
triadic
#BDB526 #26BDB5 #B526BD
tetradic
#BDB526 #26BD69 #262EBD #BD267A
square
#BDB526 #26BD69 #262EBD #BD267A
split-complementary
#BDB526 #267ABD #6926BD
monochromatic
#575312 #8A841C #BDB526 #DAD246 #E4DE79

Accessibility & contrast

On white

2.14
#BDB526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#BDB526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB526
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB526#FFFFFF#000000##000000
##BDB5261.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C8B433
Tritanopia (blue-blind)
#CBA89B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bdb526;
/* rgb */ color: rgb(189, 181, 38);
/* oklch */ color: oklch(75.6% 0.151 106.1);
Tailwind
colors: {
  custom: {
    50: '#d5ca6e',
    500: '#bdb526',
    950: '#000000',
  },
}
SCSS
$custom: #bdb526;
$custom-light: #d5ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb526",
  "rgb": {
    "r": 189,
    "g": 181,
    "b": 38
  },
  "hsl": {
    "h": 56.821,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75639,
    "c": 0.15147,
    "h": 106.1
  },
  "luminance": 0.44007
}

Semantic roles & 50–950 ramp

primary
#BDB526
secondary
#7378CC
accent
#47E93E
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB526

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

Preview Lab → · Contrast checker → · Palette generator →

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