#BDAB42#BDAB42

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

Color values

HEX#BDAB42
RGBrgb(189, 171, 66)
HSLhsl(51, 48%, 50%)
HSVhsv(51, 65%, 74%)
CMYKcmyk(0%, 9.5%, 65.1%, 25.9%)
CIE-LABlab(69.71, -5.90, 54.59)
CIE-LCHlch(69.71, 54.90, 96.17°)
OKLaboklab(73.69% -0.0208 0.1238)
OKLCHoklch(73.69% 0.126 99.5)
XYZxyz(36.5341, 40.3396, 11.0151)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAB42 #4254BD
analogous
#BD6E42 #BDAB42 #91BD42
triadic
#BDAB42 #42BDAB #AB42BD
tetradic
#BDAB42 #42BD6E #4254BD #BD4291
square
#BDAB42 #42BD6E #4254BD #BD4291
split-complementary
#BDAB42 #4291BD #6E42BD
monochromatic
#625922 #908232 #BDAB42 #CDBF6F #DDD39D

Accessibility & contrast

On white

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

On black

9.07
#BDAB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAB42
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAB42#FFFFFF#000000##000000
##BDAB421.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdab42;
/* rgb */ color: rgb(189, 171, 66);
/* oklch */ color: oklch(73.7% 0.126 99.5);
Tailwind
colors: {
  custom: {
    50: '#d4c37b',
    500: '#bdab42',
    950: '#000000',
  },
}
SCSS
$custom: #bdab42;
$custom-light: #d4c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdab42",
  "rgb": {
    "r": 189,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 51.22,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.73688,
    "c": 0.12551,
    "h": 99.5
  },
  "luminance": 0.40338
}

Semantic roles & 50–950 ramp

primary
#BDAB42
secondary
#929AC9
accent
#64D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BDAB42

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

Preview Lab → · Contrast checker → · Palette generator →

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