#BDB826#BDB826

#BDB826 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.3% C 0.154 H 107.5°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#BDB826
RGBrgb(189, 184, 38)
HSLhsl(58, 67%, 45%)
HSVhsv(58, 80%, 74%)
CMYKcmyk(0%, 2.6%, 79.9%, 25.9%)
CIE-LABlab(73.05, -13.96, 67.93)
CIE-LCHlch(73.05, 69.35, 101.61°)
OKLaboklab(76.29% -0.0462 0.1471)
OKLCHoklch(76.29% 0.154 107.5)
XYZxyz(38.4782, 45.2411, 8.5389)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB826 #262BBD
analogous
#BD6C26 #BDB826 #77BD26
triadic
#BDB826 #26BDB8 #B826BD
tetradic
#BDB826 #26BD6C #262BBD #BD2677
square
#BDB826 #26BD6C #262BBD #BD2677
split-complementary
#BDB826 #2677BD #6C26BD
monochromatic
#575512 #8A861C #BDB826 #DAD546 #E4E179

Accessibility & contrast

On white

2.09
#BDB826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#BDB826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB826
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB826#FFFFFF#000000##000000
##BDB8261.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#CBB633
Tritanopia (blue-blind)
#CBAB9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bdb826;
/* rgb */ color: rgb(189, 184, 38);
/* oklch */ color: oklch(76.3% 0.154 107.5);
Tailwind
colors: {
  custom: {
    50: '#d5cd6e',
    500: '#bdb826',
    950: '#000000',
  },
}
SCSS
$custom: #bdb826;
$custom-light: #d5cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb826",
  "rgb": {
    "r": 189,
    "g": 184,
    "b": 38
  },
  "hsl": {
    "h": 58.013,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7629,
    "c": 0.15418,
    "h": 107.5
  },
  "luminance": 0.4524
}

Semantic roles & 50–950 ramp

primary
#BDB826
secondary
#7376CC
accent
#44E93E
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB826

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

Preview Lab → · Contrast checker → · Palette generator →

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