#BDAB40#BDAB40

#BDAB40 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.7% C 0.127 H 99.7°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#BDAB40
RGBrgb(189, 171, 64)
HSLhsl(51, 49%, 50%)
HSVhsv(51, 66%, 74%)
CMYKcmyk(0%, 9.5%, 66.1%, 25.9%)
CIE-LABlab(69.69, -6.02, 55.43)
CIE-LCHlch(69.69, 55.75, 96.20°)
OKLaboklab(73.67% -0.0213 0.1252)
OKLCHoklch(73.67% 0.127 99.7)
XYZxyz(36.4762, 40.3164, 10.7100)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAB40 #4052BD
analogous
#BD6D40 #BDAB40 #91BD40
triadic
#BDAB40 #40BDAB #AB40BD
tetradic
#BDAB40 #40BD6D #4052BD #BD4091
square
#BDAB40 #40BD6D #4052BD #BD4091
split-complementary
#BDAB40 #4091BD #6D40BD
monochromatic
#625821 #8F8231 #BDAB40 #CDC06D #DDD39A

Accessibility & contrast

On white

2.32
#BDAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#BDAB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAB40
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAB40#FFFFFF#000000##000000
##BDAB401.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA632
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#CB9F95
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bdab40;
/* rgb */ color: rgb(189, 171, 64);
/* oklch */ color: oklch(73.7% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#d4c37a',
    500: '#bdab40',
    950: '#000000',
  },
}
SCSS
$custom: #bdab40;
$custom-light: #d4c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#bdab40",
  "rgb": {
    "r": 189,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 51.36,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7367,
    "c": 0.12705,
    "h": 99.7
  },
  "luminance": 0.40315
}

Semantic roles & 50–950 ramp

primary
#BDAB40
secondary
#9098C9
accent
#63D94F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BDAB40

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

Preview Lab → · Contrast checker → · Palette generator →

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