#BDA542#BDA542

#BDA542 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.4% C 0.121 H 95.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#BDA542
RGBrgb(189, 165, 66)
HSLhsl(48, 48%, 50%)
HSVhsv(48, 65%, 74%)
CMYKcmyk(0%, 12.7%, 65.1%, 25.9%)
CIE-LABlab(68.11, -2.72, 52.88)
CIE-LCHlch(68.11, 52.95, 92.94°)
OKLaboklab(72.42% -0.0117 0.1202)
OKLCHoklch(72.42% 0.121 95.5)
XYZxyz(35.4264, 38.1242, 10.6459)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA542 #425ABD
analogous
#BD6842 #BDA542 #97BD42
triadic
#BDA542 #42BDA5 #A542BD
tetradic
#BDA542 #42BD68 #425ABD #BD4297
square
#BDA542 #42BD68 #425ABD #BD4297
split-complementary
#BDA542 #4297BD #6842BD
monochromatic
#625622 #907D32 #BDA542 #CDBB6F #DDD09D

Accessibility & contrast

On white

2.43
#BDA542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#BDA542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA542
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA542#FFFFFF#000000##000000
##BDA5421.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A236
Deuteranopia (green-blind)
#BBA947
Tritanopia (blue-blind)
#CB9990
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bda542;
/* rgb */ color: rgb(189, 165, 66);
/* oklch */ color: oklch(72.4% 0.121 95.5);
Tailwind
colors: {
  custom: {
    50: '#d4bf7b',
    500: '#bda542',
    950: '#000000',
  },
}
SCSS
$custom: #bda542;
$custom-light: #d4bf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bda542",
  "rgb": {
    "r": 189,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 48.293,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.72422,
    "c": 0.12074,
    "h": 95.5
  },
  "luminance": 0.38122
}

Semantic roles & 50–950 ramp

primary
#BDA542
secondary
#929DC9
accent
#6AD850
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BDA542

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

Preview Lab → · Contrast checker → · Palette generator →

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