#BDA540#BDA540

#BDA540 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.4% C 0.122 H 95.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#BDA540
RGBrgb(189, 165, 64)
HSLhsl(48, 49%, 50%)
HSVhsv(48, 66%, 74%)
CMYKcmyk(0%, 12.7%, 66.1%, 25.9%)
CIE-LABlab(68.09, -2.84, 53.74)
CIE-LCHlch(68.09, 53.82, 93.03°)
OKLaboklab(72.4% -0.0123 0.1217)
OKLCHoklch(72.4% 0.122 95.8)
XYZxyz(35.3685, 38.1010, 10.3408)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA540 #4058BD
analogous
#BD6740 #BDA540 #97BD40
triadic
#BDA540 #40BDA5 #A540BD
tetradic
#BDA540 #40BD67 #4058BD #BD4097
square
#BDA540 #40BD67 #4058BD #BD4097
split-complementary
#BDA540 #4097BD #6740BD
monochromatic
#625521 #8F7D31 #BDA540 #CDBB6D #DDD09A

Accessibility & contrast

On white

2.44
#BDA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#BDA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA540
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA540#FFFFFF#000000##000000
##BDA5401.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A234
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#CC9990
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bda540;
/* rgb */ color: rgb(189, 165, 64);
/* oklch */ color: oklch(72.4% 0.122 95.8);
Tailwind
colors: {
  custom: {
    50: '#d4bf7a',
    500: '#bda540',
    950: '#000000',
  },
}
SCSS
$custom: #bda540;
$custom-light: #d4bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bda540",
  "rgb": {
    "r": 189,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 48.48,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72403,
    "c": 0.1223,
    "h": 95.8
  },
  "luminance": 0.38099
}

Semantic roles & 50–950 ramp

primary
#BDA540
secondary
#909BC9
accent
#69D94F
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA540

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

Preview Lab → · Contrast checker → · Palette generator →

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