#BD9A28#BD9A28

#BD9A28 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.9% C 0.131 H 90.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#BD9A28
RGBrgb(189, 154, 40)
HSLhsl(46, 65%, 45%)
HSVhsv(46, 79%, 74%)
CMYKcmyk(0%, 18.5%, 78.8%, 25.9%)
CIE-LABlab(65.03, 1.89, 60.16)
CIE-LCHlch(65.03, 60.19, 88.20°)
OKLaboklab(69.93% -0.0014 0.1308)
OKLCHoklch(69.93% 0.131 90.6)
XYZxyz(32.9268, 34.0853, 6.8519)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9A28 #284BBD
analogous
#BD4F28 #BD9A28 #96BD28
triadic
#BD9A28 #28BD9A #9A28BD
tetradic
#BD9A28 #28BD4F #284BBD #BD2896
square
#BD9A28 #28BD4F #284BBD #BD2896
split-complementary
#BD9A28 #2896BD #4F28BD
monochromatic
#584813 #8A711D #BD9A28 #D9B74A #E3CB7C

Accessibility & contrast

On white

2.69
#BD9A28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#BD9A28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9A28
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9A28#FFFFFF#000000##000000
##BD9A281.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980F
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#CD8C84
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd9a28;
/* rgb */ color: rgb(189, 154, 40);
/* oklch */ color: oklch(69.9% 0.131 90.6);
Tailwind
colors: {
  custom: {
    50: '#d5b76c',
    500: '#bd9a28',
    950: '#000000',
  },
}
SCSS
$custom: #bd9a28;
$custom-light: #d5b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9a28",
  "rgb": {
    "r": 189,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 45.906,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6993,
    "c": 0.13077,
    "h": 90.6
  },
  "luminance": 0.34083
}

Semantic roles & 50–950 ramp

primary
#BD9A28
secondary
#758ACB
accent
#67E840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9A28

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

Preview Lab → · Contrast checker → · Palette generator →

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