#BDBA40#BDBA40

#BDBA40 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.9% C 0.141 H 107.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#BDBA40
RGBrgb(189, 186, 64)
HSLhsl(59, 49%, 50%)
HSVhsv(59, 66%, 74%)
CMYKcmyk(0%, 1.6%, 66.1%, 25.9%)
CIE-LABlab(73.74, -13.79, 59.63)
CIE-LCHlch(73.74, 61.20, 103.03°)
OKLaboklab(76.89% -0.0434 0.1341)
OKLCHoklch(76.89% 0.141 107.9)
XYZxyz(39.4720, 46.3080, 11.7086)
Luminance0.4631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBA40 #4043BD
analogous
#BD7C40 #BDBA40 #82BD40
triadic
#BDBA40 #40BDBA #BA40BD
tetradic
#BDBA40 #40BD7C #4043BD #BD4082
square
#BDBA40 #40BD7C #4043BD #BD4082
split-complementary
#BDBA40 #4082BD #7C40BD
monochromatic
#626021 #8F8D31 #BDBA40 #CDCB6D #DDDB9A

Accessibility & contrast

On white

2.05
#BDBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#BDBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBA40
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBA40#FFFFFF#000000##000000
##BDBA401.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#CAAEA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bdba40;
/* rgb */ color: rgb(189, 186, 64);
/* oklch */ color: oklch(76.9% 0.141 107.9);
Tailwind
colors: {
  custom: {
    50: '#d4ce7b',
    500: '#bdba40',
    950: '#000000',
  },
}
SCSS
$custom: #bdba40;
$custom-light: #d4ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdba40",
  "rgb": {
    "r": 189,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 58.56,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76892,
    "c": 0.14095,
    "h": 107.9
  },
  "luminance": 0.46307
}

Semantic roles & 50–950 ramp

primary
#BDBA40
secondary
#9091C9
accent
#52D94F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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