#BDB823#BDB823

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

Color values

HEX#BDB823
RGBrgb(189, 184, 35)
HSLhsl(58, 69%, 44%)
HSVhsv(58, 81%, 74%)
CMYKcmyk(0%, 2.6%, 81.5%, 25.9%)
CIE-LABlab(73.04, -14.05, 68.73)
CIE-LCHlch(73.04, 70.15, 101.56°)
OKLaboklab(76.28% -0.0467 0.1483)
OKLCHoklch(76.28% 0.155 107.5)
XYZxyz(38.4317, 45.2225, 8.2942)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB823 #2328BD
analogous
#BD6B23 #BDB823 #75BD23
triadic
#BDB823 #23BDB8 #B823BD
tetradic
#BDB823 #23BD6B #2328BD #BD2375
square
#BDB823 #23BD6B #2328BD #BD2375
split-complementary
#BDB823 #2375BD #6B23BD
monochromatic
#565310 #898619 #BDB823 #DCD741 #E5E275

Accessibility & contrast

On white

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

On black

10.04
#BDB823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB823
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB823#FFFFFF#000000##000000
##BDB8231.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#CBB631
Tritanopia (blue-blind)
#CBAB9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bdb823;
/* rgb */ color: rgb(189, 184, 35);
/* oklch */ color: oklch(76.3% 0.155 107.5);
Tailwind
colors: {
  custom: {
    50: '#d5cd6d',
    500: '#bdb823',
    950: '#000000',
  },
}
SCSS
$custom: #bdb823;
$custom-light: #d5cd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb823",
  "rgb": {
    "r": 189,
    "g": 184,
    "b": 35
  },
  "hsl": {
    "h": 58.052,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.76276,
    "c": 0.15546,
    "h": 107.5
  },
  "luminance": 0.45221
}

Semantic roles & 50–950 ramp

primary
#BDB823
secondary
#6F72CD
accent
#42EC3C
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB823

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

Preview Lab → · Contrast checker → · Palette generator →

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