#BDB542#BDB542

#BDB542 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.8% C 0.135 H 105.3°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#BDB542
RGBrgb(189, 181, 66)
HSLhsl(56, 48%, 50%)
HSVhsv(56, 65%, 74%)
CMYKcmyk(0%, 4.2%, 65.1%, 25.9%)
CIE-LABlab(72.40, -11.11, 57.42)
CIE-LCHlch(72.40, 58.49, 100.95°)
OKLaboklab(75.83% -0.0356 0.1298)
OKLCHoklch(75.83% 0.135 105.3)
XYZxyz(38.4949, 44.2613, 11.6687)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB542 #424ABD
analogous
#BD7842 #BDB542 #87BD42
triadic
#BDB542 #42BDB5 #B542BD
tetradic
#BDB542 #42BD78 #424ABD #BD4287
square
#BDB542 #42BD78 #424ABD #BD4287
split-complementary
#BDB542 #4287BD #7842BD
monochromatic
#625E22 #908A32 #BDB542 #CDC76F #DDD99D

Accessibility & contrast

On white

2.13
#BDB542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#BDB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB542
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB542#FFFFFF#000000##000000
##BDB5421.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF33
Deuteranopia (green-blind)
#C7B449
Tritanopia (blue-blind)
#CAA99D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bdb542;
/* rgb */ color: rgb(189, 181, 66);
/* oklch */ color: oklch(75.8% 0.135 105.3);
Tailwind
colors: {
  custom: {
    50: '#d4ca7c',
    500: '#bdb542',
    950: '#000000',
  },
}
SCSS
$custom: #bdb542;
$custom-light: #d4ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb542",
  "rgb": {
    "r": 189,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 56.098,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.75827,
    "c": 0.13456,
    "h": 105.3
  },
  "luminance": 0.4426
}

Semantic roles & 50–950 ramp

primary
#BDB542
secondary
#9295C9
accent
#59D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB542

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

Preview Lab → · Contrast checker → · Palette generator →

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