#BD9D22#BD9D22

#BD9D22 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.5% C 0.135 H 93.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#BD9D22
RGBrgb(189, 157, 34)
HSLhsl(48, 70%, 44%)
HSVhsv(48, 82%, 74%)
CMYKcmyk(0%, 16.9%, 82%, 25.9%)
CIE-LABlab(65.79, 0.07, 62.76)
CIE-LCHlch(65.79, 62.76, 89.94°)
OKLaboklab(70.52% -0.0071 0.1351)
OKLCHoklch(70.52% 0.135 93)
XYZxyz(33.3339, 35.0503, 6.5227)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9D22 #2242BD
analogous
#BD4F22 #BD9D22 #8FBD22
triadic
#BD9D22 #22BD9D #9D22BD
tetradic
#BD9D22 #22BD4F #2242BD #BD228F
square
#BD9D22 #22BD4F #2242BD #BD228F
split-complementary
#BD9D22 #228FBD #4F22BD
monochromatic
#55470F #897219 #BD9D22 #DDBC40 #E6CE73

Accessibility & contrast

On white

2.62
#BD9D22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#BD9D22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9D22
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9D22#FFFFFF#000000##000000
##BD9D221.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B7A42B
Tritanopia (blue-blind)
#CD8F87
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd9d22;
/* rgb */ color: rgb(189, 157, 34);
/* oklch */ color: oklch(70.5% 0.135 93.0);
Tailwind
colors: {
  custom: {
    50: '#d6b969',
    500: '#bd9d22',
    950: '#000000',
  },
}
SCSS
$custom: #bd9d22;
$custom-light: #d6b969;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9d22",
  "rgb": {
    "r": 189,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 47.613,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70518,
    "c": 0.1353,
    "h": 93
  },
  "luminance": 0.35048
}

Semantic roles & 50–950 ramp

primary
#BD9D22
secondary
#6E82CD
accent
#60EC3B
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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