#BDB822#BDB822

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

Color values

HEX#BDB822
RGBrgb(189, 184, 34)
HSLhsl(58, 70%, 44%)
HSVhsv(58, 82%, 74%)
CMYKcmyk(0%, 2.6%, 82%, 25.9%)
CIE-LABlab(73.03, -14.08, 68.99)
CIE-LCHlch(73.03, 70.41, 101.54°)
OKLaboklab(76.27% -0.0469 0.1487)
OKLCHoklch(76.27% 0.156 107.5)
XYZxyz(38.4171, 45.2167, 8.2171)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB822 #2227BD
analogous
#BD6B22 #BDB822 #74BD22
triadic
#BDB822 #22BDB8 #B822BD
tetradic
#BDB822 #22BD6B #2227BD #BD2274
square
#BDB822 #22BD6B #2227BD #BD2274
split-complementary
#BDB822 #2274BD #6B22BD
monochromatic
#55530F #898619 #BDB822 #DDD840 #E6E273

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDB822#FFFFFF#000000##000000
##BDB8221.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)
#CBB630
Tritanopia (blue-blind)
#CBAB9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bdb822;
/* rgb */ color: rgb(189, 184, 34);
/* oklch */ color: oklch(76.3% 0.156 107.5);
Tailwind
colors: {
  custom: {
    50: '#d5cd6d',
    500: '#bdb822',
    950: '#000000',
  },
}
SCSS
$custom: #bdb822;
$custom-light: #d5cd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb822",
  "rgb": {
    "r": 189,
    "g": 184,
    "b": 34
  },
  "hsl": {
    "h": 58.065,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76272,
    "c": 0.15587,
    "h": 107.5
  },
  "luminance": 0.45215
}

Semantic roles & 50–950 ramp

primary
#BDB822
secondary
#6E71CD
accent
#41EC3B
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB822

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

Preview Lab → · Contrast checker → · Palette generator →

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