#BDB040#BDB040

#BDB040 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.7% C 0.131 H 102.7°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#BDB040
RGBrgb(189, 176, 64)
HSLhsl(54, 49%, 50%)
HSVhsv(54, 66%, 74%)
CMYKcmyk(0%, 6.9%, 66.1%, 25.9%)
CIE-LABlab(71.04, -8.64, 56.83)
CIE-LCHlch(71.04, 57.48, 98.64°)
OKLaboklab(74.74% -0.0288 0.1282)
OKLCHoklch(74.74% 0.131 102.7)
XYZxyz(37.4385, 42.2412, 11.0308)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB040 #404DBD
analogous
#BD7240 #BDB040 #8CBD40
triadic
#BDB040 #40BDB0 #B040BD
tetradic
#BDB040 #40BD72 #404DBD #BD408C
square
#BDB040 #40BD72 #404DBD #BD408C
split-complementary
#BDB040 #408CBD #7240BD
monochromatic
#625B21 #8F8531 #BDB040 #CDC36D #DDD69A

Accessibility & contrast

On white

2.22
#BDB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#BDB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB040
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB040#FFFFFF#000000##000000
##BDB0401.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB31
Deuteranopia (green-blind)
#C4B147
Tritanopia (blue-blind)
#CBA499
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bdb040;
/* rgb */ color: rgb(189, 176, 64);
/* oklch */ color: oklch(74.7% 0.131 102.7);
Tailwind
colors: {
  custom: {
    50: '#d4c77b',
    500: '#bdb040',
    950: '#000000',
  },
}
SCSS
$custom: #bdb040;
$custom-light: #d4c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb040",
  "rgb": {
    "r": 189,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 53.76,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74736,
    "c": 0.1314,
    "h": 102.7
  },
  "luminance": 0.4224
}

Semantic roles & 50–950 ramp

primary
#BDB040
secondary
#9096C9
accent
#5DD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB040

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

Preview Lab → · Contrast checker → · Palette generator →

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