#BD9A22#BD9A22

#BD9A22 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.9% C 0.134 H 91.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#BD9A22
RGBrgb(189, 154, 34)
HSLhsl(46, 70%, 44%)
HSVhsv(46, 82%, 74%)
CMYKcmyk(0%, 18.5%, 82%, 25.9%)
CIE-LABlab(65.00, 1.69, 62.07)
CIE-LCHlch(65.00, 62.10, 88.44°)
OKLaboklab(69.9% -0.0026 0.1336)
OKLCHoklch(69.9% 0.134 91.1)
XYZxyz(32.8326, 34.0476, 6.3556)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9A22 #2245BD
analogous
#BD4D22 #BD9A22 #92BD22
triadic
#BD9A22 #22BD9A #9A22BD
tetradic
#BD9A22 #22BD4D #2245BD #BD2292
square
#BD9A22 #22BD4D #2245BD #BD2292
split-complementary
#BD9A22 #2292BD #4D22BD
monochromatic
#55450F #897019 #BD9A22 #DDB940 #E6CC73

Accessibility & contrast

On white

2.69
#BD9A22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#BD9A22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9A22
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9A22#FFFFFF#000000##000000
##BD9A221.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#B5A22A
Tritanopia (blue-blind)
#CD8C84
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd9a22;
/* rgb */ color: rgb(189, 154, 34);
/* oklch */ color: oklch(69.9% 0.134 91.1);
Tailwind
colors: {
  custom: {
    50: '#d6b769',
    500: '#bd9a22',
    950: '#000000',
  },
}
SCSS
$custom: #bd9a22;
$custom-light: #d6b769;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9a22",
  "rgb": {
    "r": 189,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 46.452,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69897,
    "c": 0.13364,
    "h": 91.1
  },
  "luminance": 0.34046
}

Semantic roles & 50–950 ramp

primary
#BD9A22
secondary
#6E83CD
accent
#63EC3B
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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