#BD9E22#BD9E22

#BD9E22 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.136 H 93.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#BD9E22
RGBrgb(189, 158, 34)
HSLhsl(48, 70%, 44%)
HSVhsv(48, 82%, 74%)
CMYKcmyk(0%, 16.4%, 82%, 25.9%)
CIE-LABlab(66.05, -0.47, 62.99)
CIE-LCHlch(66.05, 62.99, 90.43°)
OKLaboklab(70.73% -0.0087 0.1356)
OKLCHoklch(70.73% 0.136 93.7)
XYZxyz(33.5038, 35.3901, 6.5793)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9E22 #2241BD
analogous
#BD5022 #BD9E22 #8EBD22
triadic
#BD9E22 #22BD9E #9E22BD
tetradic
#BD9E22 #22BD50 #2241BD #BD228E
square
#BD9E22 #22BD50 #2241BD #BD228E
split-complementary
#BD9E22 #228EBD #5022BD
monochromatic
#55470F #897319 #BD9E22 #DDBD40 #E6CF73

Accessibility & contrast

On white

2.60
#BD9E22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#BD9E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9E22
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9E22#FFFFFF#000000##000000
##BD9E221.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B8A42B
Tritanopia (blue-blind)
#CD9087
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd9e22;
/* rgb */ color: rgb(189, 158, 34);
/* oklch */ color: oklch(70.7% 0.136 93.7);
Tailwind
colors: {
  custom: {
    50: '#d5ba69',
    500: '#bd9e22',
    950: '#000000',
  },
}
SCSS
$custom: #bd9e22;
$custom-light: #d5ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9e22",
  "rgb": {
    "r": 189,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 48,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70726,
    "c": 0.13589,
    "h": 93.7
  },
  "luminance": 0.35388
}

Semantic roles & 50–950 ramp

primary
#BD9E22
secondary
#6E81CD
accent
#5FEC3B
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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