#BDBD26#BDBD26

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

Color values

HEX#BDBD26
RGBrgb(189, 189, 38)
HSLhsl(60, 67%, 45%)
HSVhsv(60, 80%, 74%)
CMYKcmyk(0%, 0%, 79.9%, 25.9%)
CIE-LABlab(74.42, -16.49, 69.12)
CIE-LCHlch(74.42, 71.06, 103.42°)
OKLaboklab(77.38% -0.0533 0.1497)
OKLCHoklch(77.38% 0.159 109.6)
XYZxyz(39.5352, 47.3552, 8.8912)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD26 #2626BD
analogous
#BD7226 #BDBD26 #72BD26
triadic
#BDBD26 #26BDBD #BD26BD
tetradic
#BDBD26 #26BD72 #2626BD #BD2672
square
#BDBD26 #26BD72 #2626BD #BD2672
split-complementary
#BDBD26 #2672BD #7226BD
monochromatic
#575712 #8A8A1C #BDBD26 #DADA46 #E4E479

Accessibility & contrast

On white

2.01
#BDBD26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#BDBD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD26
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD26#FFFFFF#000000##000000
##BDBD261.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CEB934
Tritanopia (blue-blind)
#CBB0A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bdbd26;
/* rgb */ color: rgb(189, 189, 38);
/* oklch */ color: oklch(77.4% 0.159 109.6);
Tailwind
colors: {
  custom: {
    50: '#d5d06f',
    500: '#bdbd26',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd26;
$custom-light: #d5d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd26",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.77381,
    "c": 0.15886,
    "h": 109.6
  },
  "luminance": 0.47354
}

Semantic roles & 50–950 ramp

primary
#BDBD26
secondary
#7373CC
accent
#3EE93E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBD26

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

Preview Lab → · Contrast checker → · Palette generator →

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