#BD9827#BD9827

#BD9827 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.5% C 0.130 H 89.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#BD9827
RGBrgb(189, 152, 39)
HSLhsl(45, 66%, 45%)
HSVhsv(45, 79%, 74%)
CMYKcmyk(0%, 19.6%, 79.4%, 25.9%)
CIE-LABlab(64.50, 2.94, 60.02)
CIE-LCHlch(64.50, 60.09, 87.20°)
OKLaboklab(69.51% 0.0015 0.1303)
OKLCHoklch(69.51% 0.13 89.3)
XYZxyz(32.5827, 33.4239, 6.6544)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9827 #274CBD
analogous
#BD4D27 #BD9827 #97BD27
triadic
#BD9827 #27BD98 #9827BD
tetradic
#BD9827 #27BD4D #274CBD #BD2797
square
#BD9827 #27BD4D #274CBD #BD2797
split-complementary
#BD9827 #2797BD #4D27BD
monochromatic
#584612 #8A6F1D #BD9827 #D9B548 #E4CA7B

Accessibility & contrast

On white

2.73
#BD9827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#BD9827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9827
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9827#FFFFFF#000000##000000
##BD98271.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960E
Deuteranopia (green-blind)
#B3A12E
Tritanopia (blue-blind)
#CD8A83
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bd9827;
/* rgb */ color: rgb(189, 152, 39);
/* oklch */ color: oklch(69.5% 0.130 89.3);
Tailwind
colors: {
  custom: {
    50: '#d5b56b',
    500: '#bd9827',
    950: '#000000',
  },
}
SCSS
$custom: #bd9827;
$custom-light: #d5b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9827",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 45.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69512,
    "c": 0.13026,
    "h": 89.3
  },
  "luminance": 0.33422
}

Semantic roles & 50–950 ramp

primary
#BD9827
secondary
#748ACC
accent
#69E93F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9827

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

Preview Lab → · Contrast checker → · Palette generator →

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