#BDA822#BDA822

#BDA822 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.143 H 99.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#BDA822
RGBrgb(189, 168, 34)
HSLhsl(52, 70%, 44%)
HSVhsv(52, 82%, 74%)
CMYKcmyk(0%, 11.1%, 82%, 25.9%)
CIE-LABlab(68.71, -5.79, 65.28)
CIE-LCHlch(68.71, 65.54, 95.07°)
OKLaboklab(72.83% -0.0237 0.1406)
OKLCHoklch(72.83% 0.143 99.6)
XYZxyz(35.2795, 38.9414, 7.1712)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA822 #2237BD
analogous
#BD5A22 #BDA822 #84BD22
triadic
#BDA822 #22BDA8 #A822BD
tetradic
#BDA822 #22BD5A #2237BD #BD2284
square
#BDA822 #22BD5A #2237BD #BD2284
split-complementary
#BDA822 #2284BD #5A22BD
monochromatic
#554C0F #897A19 #BDA822 #DDC740 #E6D673

Accessibility & contrast

On white

2.39
#BDA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#BDA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA822
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA822#FFFFFF#000000##000000
##BDA8221.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#BFAB2D
Tritanopia (blue-blind)
#CC9B90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bda822;
/* rgb */ color: rgb(189, 168, 34);
/* oklch */ color: oklch(72.8% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#d5c16b',
    500: '#bda822',
    950: '#000000',
  },
}
SCSS
$custom: #bda822;
$custom-light: #d5c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#bda822",
  "rgb": {
    "r": 189,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 51.871,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7283,
    "c": 0.14258,
    "h": 99.6
  },
  "luminance": 0.3894
}

Semantic roles & 50–950 ramp

primary
#BDA822
secondary
#6E7BCD
accent
#53EC3B
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDA822

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

Preview Lab → · Contrast checker → · Palette generator →

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