#BDAD40#BDAD40

#BDAD40 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.1% C 0.129 H 100.9°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#BDAD40
RGBrgb(189, 173, 64)
HSLhsl(52, 49%, 50%)
HSVhsv(52, 66%, 74%)
CMYKcmyk(0%, 8.5%, 66.1%, 25.9%)
CIE-LABlab(70.23, -7.07, 55.99)
CIE-LCHlch(70.23, 56.43, 97.20°)
OKLaboklab(74.1% -0.0243 0.1264)
OKLCHoklch(74.1% 0.129 100.9)
XYZxyz(36.8568, 41.0777, 10.8369)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAD40 #4050BD
analogous
#BD6F40 #BDAD40 #8FBD40
triadic
#BDAD40 #40BDAD #AD40BD
tetradic
#BDAD40 #40BD6F #4050BD #BD408F
square
#BDAD40 #40BD6F #4050BD #BD408F
split-complementary
#BDAD40 #408FBD #6F40BD
monochromatic
#625921 #8F8331 #BDAD40 #CDC16D #DDD49A

Accessibility & contrast

On white

2.28
#BDAD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#BDAD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAD40
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAD40#FFFFFF#000000##000000
##BDAD401.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C1AF46
Tritanopia (blue-blind)
#CBA196
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bdad40;
/* rgb */ color: rgb(189, 173, 64);
/* oklch */ color: oklch(74.1% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#d4c57a',
    500: '#bdad40',
    950: '#000000',
  },
}
SCSS
$custom: #bdad40;
$custom-light: #d4c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#bdad40",
  "rgb": {
    "r": 189,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 52.32,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74095,
    "c": 0.12875,
    "h": 100.9
  },
  "luminance": 0.41076
}

Semantic roles & 50–950 ramp

primary
#BDAD40
secondary
#9097C9
accent
#61D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BDAD40

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

Preview Lab → · Contrast checker → · Palette generator →

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