#BDBD52#BDBD52

#BDBD52 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.7% C 0.130 H 109.1°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#BDBD52
RGBrgb(189, 189, 82)
HSLhsl(60, 45%, 53%)
HSVhsv(60, 57%, 74%)
CMYKcmyk(0%, 0%, 56.6%, 25.9%)
CIE-LABlab(74.71, -14.12, 52.95)
CIE-LCHlch(74.71, 54.80, 104.93°)
OKLaboklab(77.71% -0.0424 0.1225)
OKLCHoklch(77.71% 0.13 109.1)
XYZxyz(40.7080, 47.8243, 15.0676)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD52 #5252BD
analogous
#BD8752 #BDBD52 #87BD52
triadic
#BDBD52 #52BDBD #BD52BD
tetradic
#BDBD52 #52BD87 #5252BD #BD5287
square
#BDBD52 #52BD87 #5252BD #BD5287
split-complementary
#BDBD52 #5287BD #8752BD
monochromatic
#6C6C29 #98983A #BDBD52 #CECE7E #DFDFAB

Accessibility & contrast

On white

1.99
#BDBD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#BDBD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD52
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD52#FFFFFF#000000##000000
##BDBD521.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB647
Deuteranopia (green-blind)
#CCBA58
Tritanopia (blue-blind)
#C9B2A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #bdbd52;
/* rgb */ color: rgb(189, 189, 82);
/* oklch */ color: oklch(77.7% 0.130 109.1);
Tailwind
colors: {
  custom: {
    50: '#d3d086',
    500: '#bdbd52',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd52;
$custom-light: #d3d086;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd52",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77713,
    "c": 0.12963,
    "h": 109.1
  },
  "luminance": 0.47823
}

Semantic roles & 50–950 ramp

primary
#BDBD52
secondary
#9E9ECC
accent
#53D453
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #BDBD52

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

Preview Lab → · Contrast checker → · Palette generator →

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