#BDBD38#BDBD38

#BDBD38 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.5% C 0.149 H 109.4°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#BDBD38
RGBrgb(189, 189, 56)
HSLhsl(60, 54%, 48%)
HSVhsv(60, 70%, 74%)
CMYKcmyk(0%, 0%, 70.4%, 25.9%)
CIE-LABlab(74.51, -15.75, 63.45)
CIE-LCHlch(74.51, 65.37, 103.94°)
OKLaboklab(77.48% -0.0497 0.1408)
OKLCHoklch(77.48% 0.149 109.4)
XYZxyz(39.8991, 47.5007, 10.8074)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD38 #3838BD
analogous
#BD7A38 #BDBD38 #7ABD38
triadic
#BDBD38 #38BDBD #BD38BD
tetradic
#BDBD38 #38BD7A #3838BD #BD387A
square
#BDBD38 #38BD7A #3838BD #BD387A
split-complementary
#BDBD38 #387ABD #7A38BD
monochromatic
#5F5F1C #8E8E2A #BDBD38 #D0D062 #DEDE91

Accessibility & contrast

On white

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

On black

10.50
#BDBD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD38
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD38#FFFFFF#000000##000000
##BDBD381.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#CEB942
Tritanopia (blue-blind)
#CAB1A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bdbd38;
/* rgb */ color: rgb(189, 189, 56);
/* oklch */ color: oklch(77.5% 0.149 109.4);
Tailwind
colors: {
  custom: {
    50: '#d4d077',
    500: '#bdbd38',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd38;
$custom-light: #d4d077;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd38",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77484,
    "c": 0.14934,
    "h": 109.4
  },
  "luminance": 0.475
}

Semantic roles & 50–950 ramp

primary
#BDBD38
secondary
#8787C9
accent
#4ADE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BDBD38

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

Preview Lab → · Contrast checker → · Palette generator →

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