#BD9C27#BD9C27

#BD9C27 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.3% C 0.132 H 92.0°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#BD9C27
RGBrgb(189, 156, 39)
HSLhsl(47, 66%, 45%)
HSVhsv(47, 79%, 74%)
CMYKcmyk(0%, 17.5%, 79.4%, 25.9%)
CIE-LABlab(65.55, 0.78, 60.96)
CIE-LCHlch(65.55, 60.97, 89.27°)
OKLaboklab(70.34% -0.0047 0.1323)
OKLCHoklch(70.34% 0.132 92)
XYZxyz(33.2429, 34.7443, 6.8745)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9C27 #2748BD
analogous
#BD5127 #BD9C27 #93BD27
triadic
#BD9C27 #27BD9C #9C27BD
tetradic
#BD9C27 #27BD51 #2748BD #BD2793
square
#BD9C27 #27BD51 #2748BD #BD2793
split-complementary
#BD9C27 #2793BD #5127BD
monochromatic
#584812 #8A721D #BD9C27 #D9B948 #E4CD7B

Accessibility & contrast

On white

2.64
#BD9C27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#BD9C27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9C27
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9C27#FFFFFF#000000##000000
##BD9C271.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0B
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#CD8E86
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd9c27;
/* rgb */ color: rgb(189, 156, 39);
/* oklch */ color: oklch(70.3% 0.132 92.0);
Tailwind
colors: {
  custom: {
    50: '#d5b86b',
    500: '#bd9c27',
    950: '#000000',
  },
}
SCSS
$custom: #bd9c27;
$custom-light: #d5b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9c27",
  "rgb": {
    "r": 189,
    "g": 156,
    "b": 39
  },
  "hsl": {
    "h": 46.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70337,
    "c": 0.13237,
    "h": 92
  },
  "luminance": 0.34742
}

Semantic roles & 50–950 ramp

primary
#BD9C27
secondary
#7487CC
accent
#64E93F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9C27

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

Preview Lab → · Contrast checker → · Palette generator →

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