#BD9822#BD9822

#BD9822 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.5% C 0.133 H 89.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#BD9822
RGBrgb(189, 152, 34)
HSLhsl(46, 70%, 44%)
HSVhsv(46, 82%, 74%)
CMYKcmyk(0%, 19.6%, 82%, 25.9%)
CIE-LABlab(64.48, 2.77, 61.62)
CIE-LCHlch(64.48, 61.68, 87.43°)
OKLaboklab(69.49% 0.0005 0.1326)
OKLCHoklch(69.49% 0.133 89.8)
XYZxyz(32.5053, 33.3930, 6.2465)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9822 #2247BD
analogous
#BD4A22 #BD9822 #94BD22
triadic
#BD9822 #22BD98 #9822BD
tetradic
#BD9822 #22BD4A #2247BD #BD2294
square
#BD9822 #22BD4A #2247BD #BD2294
split-complementary
#BD9822 #2294BD #4A22BD
monochromatic
#55450F #896E19 #BD9822 #DDB740 #E6CB73

Accessibility & contrast

On white

2.74
#BD9822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#BD9822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9822
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9822#FFFFFF#000000##000000
##BD98221.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#B3A12A
Tritanopia (blue-blind)
#CD8A82
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bd9822;
/* rgb */ color: rgb(189, 152, 34);
/* oklch */ color: oklch(69.5% 0.133 89.8);
Tailwind
colors: {
  custom: {
    50: '#d6b569',
    500: '#bd9822',
    950: '#000000',
  },
}
SCSS
$custom: #bd9822;
$custom-light: #d6b569;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9822",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 45.677,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69485,
    "c": 0.13263,
    "h": 89.8
  },
  "luminance": 0.33391
}

Semantic roles & 50–950 ramp

primary
#BD9822
secondary
#6E85CD
accent
#66EC3B
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9822

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

Preview Lab → · Contrast checker → · Palette generator →

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