#BD9B27#BD9B27

#BD9B27 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 70.1% C 0.132 H 91.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#BD9B27
RGBrgb(189, 155, 39)
HSLhsl(46, 66%, 45%)
HSVhsv(46, 79%, 74%)
CMYKcmyk(0%, 18%, 79.4%, 25.9%)
CIE-LABlab(65.29, 1.32, 60.73)
CIE-LCHlch(65.29, 60.74, 88.76°)
OKLaboklab(70.13% -0.0031 0.1318)
OKLCHoklch(70.13% 0.132 91.4)
XYZxyz(33.0758, 34.4101, 6.8187)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9B27 #2749BD
analogous
#BD5027 #BD9B27 #94BD27
triadic
#BD9B27 #27BD9B #9B27BD
tetradic
#BD9B27 #27BD50 #2749BD #BD2794
square
#BD9B27 #27BD50 #2749BD #BD2794
split-complementary
#BD9B27 #2794BD #5027BD
monochromatic
#584812 #8A711D #BD9B27 #D9B848 #E4CC7B

Accessibility & contrast

On white

2.66
#BD9B27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#BD9B27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9B27
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9B27#FFFFFF#000000##000000
##BD9B271.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990C
Deuteranopia (green-blind)
#B5A32E
Tritanopia (blue-blind)
#CD8D85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd9b27;
/* rgb */ color: rgb(189, 155, 39);
/* oklch */ color: oklch(70.1% 0.132 91.4);
Tailwind
colors: {
  custom: {
    50: '#d5b86b',
    500: '#bd9b27',
    950: '#000000',
  },
}
SCSS
$custom: #bd9b27;
$custom-light: #d5b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9b27",
  "rgb": {
    "r": 189,
    "g": 155,
    "b": 39
  },
  "hsl": {
    "h": 46.4,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7013,
    "c": 0.13182,
    "h": 91.4
  },
  "luminance": 0.34408
}

Semantic roles & 50–950 ramp

primary
#BD9B27
secondary
#7488CC
accent
#66E93F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9B27

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

Preview Lab → · Contrast checker → · Palette generator →

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