#BDBD2D#BDBD2D

#BDBD2D is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.4% C 0.156 H 109.5°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#BDBD2D
RGBrgb(189, 189, 45)
HSLhsl(60, 62%, 46%)
HSVhsv(60, 76%, 74%)
CMYKcmyk(0%, 0%, 76.2%, 25.9%)
CIE-LABlab(74.45, -16.23, 67.11)
CIE-LCHlch(74.45, 69.04, 103.60°)
OKLaboklab(77.42% -0.052 0.1466)
OKLCHoklch(77.42% 0.156 109.5)
XYZxyz(39.6590, 47.4047, 9.5430)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD2D #2D2DBD
analogous
#BD752D #BDBD2D #75BD2D
triadic
#BDBD2D #2DBDBD #BD2DBD
tetradic
#BDBD2D #2DBD75 #2D2DBD #BD2D75
square
#BDBD2D #2DBD75 #2D2DBD #BD2D75
split-complementary
#BDBD2D #2D75BD #752DBD
monochromatic
#5A5A15 #8C8C21 #BDBD2D #D6D652 #E1E183

Accessibility & contrast

On white

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

On black

10.48
#BDBD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD2D
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD2D#FFFFFF#000000##000000
##BDBD2D1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB504
Deuteranopia (green-blind)
#CEB939
Tritanopia (blue-blind)
#CBB1A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bdbd2d;
/* rgb */ color: rgb(189, 189, 45);
/* oklch */ color: oklch(77.4% 0.156 109.5);
Tailwind
colors: {
  custom: {
    50: '#d5d072',
    500: '#bdbd2d',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd2d;
$custom-light: #d5d072;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd2d",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77416,
    "c": 0.15557,
    "h": 109.5
  },
  "luminance": 0.47403
}

Semantic roles & 50–950 ramp

primary
#BDBD2D
secondary
#7B7BCB
accent
#43E543
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDBD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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