#BDBD23#BDBD23

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

Color values

HEX#BDBD23
RGBrgb(189, 189, 35)
HSLhsl(60, 69%, 44%)
HSVhsv(60, 81%, 74%)
CMYKcmyk(0%, 0%, 81.5%, 25.9%)
CIE-LABlab(74.40, -16.58, 69.90)
CIE-LCHlch(74.40, 71.84, 103.35°)
OKLaboklab(77.37% -0.0538 0.1508)
OKLCHoklch(77.37% 0.16 109.6)
XYZxyz(39.4888, 47.3366, 8.6465)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD23 #2323BD
analogous
#BD7023 #BDBD23 #70BD23
triadic
#BDBD23 #23BDBD #BD23BD
tetradic
#BDBD23 #23BD70 #2323BD #BD2370
square
#BDBD23 #23BD70 #2323BD #BD2370
split-complementary
#BDBD23 #2370BD #7023BD
monochromatic
#565610 #898919 #BDBD23 #DCDC41 #E5E575

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDBD23#FFFFFF#000000##000000
##BDBD231.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)
#CFB932
Tritanopia (blue-blind)
#CBB0A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bdbd23;
/* rgb */ color: rgb(189, 189, 35);
/* oklch */ color: oklch(77.4% 0.160 109.6);
Tailwind
colors: {
  custom: {
    50: '#d5d06e',
    500: '#bdbd23',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd23;
$custom-light: #d5d06e;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd23",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.77367,
    "c": 0.16011,
    "h": 109.6
  },
  "luminance": 0.47335
}

Semantic roles & 50–950 ramp

primary
#BDBD23
secondary
#6F6FCD
accent
#3CEC3C
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBD23

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

Preview Lab → · Contrast checker → · Palette generator →

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