#BDAB48#BDAB48

#BDAB48 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.7% C 0.121 H 99.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#BDAB48
RGBrgb(189, 171, 72)
HSLhsl(51, 47%, 51%)
HSVhsv(51, 62%, 74%)
CMYKcmyk(0%, 9.5%, 61.9%, 25.9%)
CIE-LABlab(69.76, -5.51, 51.99)
CIE-LCHlch(69.76, 52.28, 96.05°)
OKLaboklab(73.75% -0.019 0.1192)
OKLCHoklch(73.75% 0.121 99)
XYZxyz(36.7204, 40.4141, 11.9961)
Luminance0.4041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAB48 #485ABD
analogous
#BD7048 #BDAB48 #94BD48
triadic
#BDAB48 #48BDAB #AB48BD
tetradic
#BDAB48 #48BD70 #485ABD #BD4894
square
#BDAB48 #48BD70 #485ABD #BD4894
split-complementary
#BDAB48 #4894BD #7048BD
monochromatic
#665C25 #938435 #BDAB48 #CDC075 #DDD4A2

Accessibility & contrast

On white

2.31
#BDAB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#BDAB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAB48
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAB48#FFFFFF#000000##000000
##BDAB481.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA73D
Deuteranopia (green-blind)
#BFAD4D
Tritanopia (blue-blind)
#CB9F96
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bdab48;
/* rgb */ color: rgb(189, 171, 72);
/* oklch */ color: oklch(73.7% 0.121 99.0);
Tailwind
colors: {
  custom: {
    50: '#d4c37f',
    500: '#bdab48',
    950: '#000000',
  },
}
SCSS
$custom: #bdab48;
$custom-light: #d4c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdab48",
  "rgb": {
    "r": 189,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 50.769,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73747,
    "c": 0.12066,
    "h": 99
  },
  "luminance": 0.40413
}

Semantic roles & 50–950 ramp

primary
#BDAB48
secondary
#979FCA
accent
#66D751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BDAB48

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

Preview Lab → · Contrast checker → · Palette generator →

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