#BD9922#BD9922

#BD9922 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.7% C 0.133 H 90.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#BD9922
RGBrgb(189, 153, 34)
HSLhsl(46, 70%, 44%)
HSVhsv(46, 82%, 74%)
CMYKcmyk(0%, 19%, 82%, 25.9%)
CIE-LABlab(64.74, 2.23, 61.85)
CIE-LCHlch(64.74, 61.89, 87.94°)
OKLaboklab(69.69% -0.001 0.1331)
OKLCHoklch(69.69% 0.133 90.4)
XYZxyz(32.6682, 33.7189, 6.3008)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9922 #2246BD
analogous
#BD4C22 #BD9922 #93BD22
triadic
#BD9922 #22BD99 #9922BD
tetradic
#BD9922 #22BD4C #2246BD #BD2293
square
#BD9922 #22BD4C #2246BD #BD2293
split-complementary
#BD9922 #2293BD #4C22BD
monochromatic
#55450F #896F19 #BD9922 #DDB840 #E6CB73

Accessibility & contrast

On white

2.71
#BD9922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#BD9922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9922
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9922#FFFFFF#000000##000000
##BD99221.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#B4A12A
Tritanopia (blue-blind)
#CD8B83
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bd9922;
/* rgb */ color: rgb(189, 153, 34);
/* oklch */ color: oklch(69.7% 0.133 90.4);
Tailwind
colors: {
  custom: {
    50: '#d6b669',
    500: '#bd9922',
    950: '#000000',
  },
}
SCSS
$custom: #bd9922;
$custom-light: #d6b669;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9922",
  "rgb": {
    "r": 189,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 46.065,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.13313,
    "h": 90.4
  },
  "luminance": 0.33717
}

Semantic roles & 50–950 ramp

primary
#BD9922
secondary
#6E84CD
accent
#65EC3B
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9922

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

Preview Lab → · Contrast checker → · Palette generator →

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