#BDB842#BDB842

#BDB842 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.5% C 0.137 H 106.9°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#BDB842
RGBrgb(189, 184, 66)
HSLhsl(58, 48%, 50%)
HSVhsv(58, 65%, 74%)
CMYKcmyk(0%, 2.6%, 65.1%, 25.9%)
CIE-LABlab(73.22, -12.65, 58.27)
CIE-LCHlch(73.22, 59.63, 102.25°)
OKLaboklab(76.48% -0.04 0.1316)
OKLCHoklch(76.48% 0.137 106.9)
XYZxyz(39.1115, 45.4944, 11.8743)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB842 #4247BD
analogous
#BD7B42 #BDB842 #84BD42
triadic
#BDB842 #42BDB8 #B842BD
tetradic
#BDB842 #42BD7B #4247BD #BD4284
square
#BDB842 #42BD7B #4247BD #BD4284
split-complementary
#BDB842 #4284BD #7B42BD
monochromatic
#626022 #908C32 #BDB842 #CDC96F #DDDA9D

Accessibility & contrast

On white

2.08
#BDB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#BDB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB842
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB842#FFFFFF#000000##000000
##BDB8421.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B132
Deuteranopia (green-blind)
#C9B649
Tritanopia (blue-blind)
#CAACA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bdb842;
/* rgb */ color: rgb(189, 184, 66);
/* oklch */ color: oklch(76.5% 0.137 106.9);
Tailwind
colors: {
  custom: {
    50: '#d4cd7c',
    500: '#bdb842',
    950: '#000000',
  },
}
SCSS
$custom: #bdb842;
$custom-light: #d4cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb842",
  "rgb": {
    "r": 189,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 57.561,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.76475,
    "c": 0.13749,
    "h": 106.9
  },
  "luminance": 0.45493
}

Semantic roles & 50–950 ramp

primary
#BDB842
secondary
#9294C9
accent
#56D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB842

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

Preview Lab → · Contrast checker → · Palette generator →

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