#BDB540#BDB540

#BDB540 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.8% C 0.136 H 105.4°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#BDB540
RGBrgb(189, 181, 64)
HSLhsl(56, 49%, 50%)
HSVhsv(56, 66%, 74%)
CMYKcmyk(0%, 4.2%, 66.1%, 25.9%)
CIE-LABlab(72.39, -11.23, 58.23)
CIE-LCHlch(72.39, 59.30, 100.92°)
OKLaboklab(75.81% -0.0361 0.1312)
OKLCHoklch(75.81% 0.136 105.4)
XYZxyz(38.4370, 44.2381, 11.3636)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB540 #4048BD
analogous
#BD7740 #BDB540 #87BD40
triadic
#BDB540 #40BDB5 #B540BD
tetradic
#BDB540 #40BD77 #4048BD #BD4087
square
#BDB540 #40BD77 #4048BD #BD4087
split-complementary
#BDB540 #4087BD #7740BD
monochromatic
#625D21 #8F8931 #BDB540 #CDC76D #DDD99A

Accessibility & contrast

On white

2.13
#BDB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#BDB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB540
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB540#FFFFFF#000000##000000
##BDB5401.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF30
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#CBA99D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bdb540;
/* rgb */ color: rgb(189, 181, 64);
/* oklch */ color: oklch(75.8% 0.136 105.4);
Tailwind
colors: {
  custom: {
    50: '#d4ca7b',
    500: '#bdb540',
    950: '#000000',
  },
}
SCSS
$custom: #bdb540;
$custom-light: #d4ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb540",
  "rgb": {
    "r": 189,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 56.16,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7581,
    "c": 0.13605,
    "h": 105.4
  },
  "luminance": 0.44237
}

Semantic roles & 50–950 ramp

primary
#BDB540
secondary
#9093C9
accent
#58D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB540

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

Preview Lab → · Contrast checker → · Palette generator →

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