#BDBD42#BDBD42

#BDBD42 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.6% C 0.143 H 109.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#BDBD42
RGBrgb(189, 189, 66)
HSLhsl(60, 48%, 50%)
HSVhsv(60, 65%, 74%)
CMYKcmyk(0%, 0%, 65.1%, 25.9%)
CIE-LABlab(74.58, -15.20, 59.68)
CIE-LCHlch(74.58, 61.58, 104.29°)
OKLaboklab(77.56% -0.0471 0.1345)
OKLCHoklch(77.56% 0.143 109.3)
XYZxyz(40.1685, 47.6085, 12.2266)
Luminance0.4761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD42 #4242BD
analogous
#BD8042 #BDBD42 #80BD42
triadic
#BDBD42 #42BDBD #BD42BD
tetradic
#BDBD42 #42BD80 #4242BD #BD4280
square
#BDBD42 #42BD80 #4242BD #BD4280
split-complementary
#BDBD42 #427FBD #7F42BD
monochromatic
#626222 #909032 #BDBD42 #CDCD6F #DDDD9D

Accessibility & contrast

On white

2.00
#BDBD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#BDBD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD42
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD42#FFFFFF#000000##000000
##BDBD421.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB531
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#CAB1A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bdbd42;
/* rgb */ color: rgb(189, 189, 66);
/* oklch */ color: oklch(77.6% 0.143 109.3);
Tailwind
colors: {
  custom: {
    50: '#d4d07d',
    500: '#bdbd42',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd42;
$custom-light: #d4d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd42",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.7756,
    "c": 0.14256,
    "h": 109.3
  },
  "luminance": 0.47607
}

Semantic roles & 50–950 ramp

primary
#BDBD42
secondary
#9292C9
accent
#50D850
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BDBD42

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

Preview Lab → · Contrast checker → · Palette generator →

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