#BDBD40#BDBD40

#BDBD40 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.5% C 0.144 H 109.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#BDBD40
RGBrgb(189, 189, 64)
HSLhsl(60, 49%, 50%)
HSVhsv(60, 66%, 74%)
CMYKcmyk(0%, 0%, 66.1%, 25.9%)
CIE-LABlab(74.56, -15.32, 60.46)
CIE-LCHlch(74.56, 62.37, 104.22°)
OKLaboklab(77.54% -0.0477 0.1359)
OKLCHoklch(77.54% 0.144 109.3)
XYZxyz(40.1106, 47.5853, 11.9215)
Luminance0.4758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD40 #4040BD
analogous
#BD7F40 #BDBD40 #7FBD40
triadic
#BDBD40 #40BDBD #BD40BD
tetradic
#BDBD40 #40BD7F #4040BD #BD407F
square
#BDBD40 #40BD7F #4040BD #BD407F
split-complementary
#BDBD40 #407FBD #7F40BD
monochromatic
#626221 #8F8F31 #BDBD40 #CDCD6D #DDDD9A

Accessibility & contrast

On white

2.00
#BDBD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#BDBD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD40
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD40#FFFFFF#000000##000000
##BDBD401.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#CAB1A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bdbd40;
/* rgb */ color: rgb(189, 189, 64);
/* oklch */ color: oklch(77.5% 0.144 109.3);
Tailwind
colors: {
  custom: {
    50: '#d4d07c',
    500: '#bdbd40',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd40;
$custom-light: #d4d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd40",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77544,
    "c": 0.14399,
    "h": 109.3
  },
  "luminance": 0.47584
}

Semantic roles & 50–950 ramp

primary
#BDBD40
secondary
#9090C9
accent
#4FD94F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BDBD40

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

Preview Lab → · Contrast checker → · Palette generator →

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