#BD9F22#BD9F22

#BD9F22 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.9% C 0.136 H 94.3°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#BD9F22
RGBrgb(189, 159, 34)
HSLhsl(48, 70%, 44%)
HSVhsv(48, 82%, 74%)
CMYKcmyk(0%, 15.9%, 82%, 25.9%)
CIE-LABlab(66.32, -1.00, 63.21)
CIE-LCHlch(66.32, 63.22, 90.91°)
OKLaboklab(70.94% -0.0102 0.1361)
OKLCHoklch(70.94% 0.136 94.3)
XYZxyz(33.6751, 35.7326, 6.6364)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9F22 #2240BD
analogous
#BD5122 #BD9F22 #8DBD22
triadic
#BD9F22 #22BD9F #9F22BD
tetradic
#BD9F22 #22BD51 #2240BD #BD228D
square
#BD9F22 #22BD51 #2240BD #BD228D
split-complementary
#BD9F22 #228DBD #5122BD
monochromatic
#55480F #897319 #BD9F22 #DDBE40 #E6D073

Accessibility & contrast

On white

2.58
#BD9F22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#BD9F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9F22
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9F22#FFFFFF#000000##000000
##BD9F221.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B8A52B
Tritanopia (blue-blind)
#CD9188
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bd9f22;
/* rgb */ color: rgb(189, 159, 34);
/* oklch */ color: oklch(70.9% 0.136 94.3);
Tailwind
colors: {
  custom: {
    50: '#d5ba6a',
    500: '#bd9f22',
    950: '#000000',
  },
}
SCSS
$custom: #bd9f22;
$custom-light: #d5ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9f22",
  "rgb": {
    "r": 189,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 48.387,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70935,
    "c": 0.13648,
    "h": 94.3
  },
  "luminance": 0.35731
}

Semantic roles & 50–950 ramp

primary
#BD9F22
secondary
#6E80CD
accent
#5EEC3B
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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