#BD9828#BD9828

#BD9828 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.69:1 contrast (WCAG AA passes).

Color values

HEX#BD9828
RGBrgb(189, 152, 40)
HSLhsl(45, 65%, 45%)
HSVhsv(45, 79%, 74%)
CMYKcmyk(0%, 19.6%, 78.8%, 25.9%)
CIE-LABlab(64.51, 2.98, 59.68)
CIE-LCHlch(64.51, 59.75, 87.14°)
OKLaboklab(69.52% 0.0017 0.1297)
OKLCHoklch(69.52% 0.13 89.3)
XYZxyz(32.5995, 33.4306, 6.7428)
Luminance0.3343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9828 #284DBD
analogous
#BD4E28 #BD9828 #97BD28
triadic
#BD9828 #28BD98 #9828BD
tetradic
#BD9828 #28BD4E #284DBD #BD2897
square
#BD9828 #28BD4E #284DBD #BD2897
split-complementary
#BD9828 #2897BD #4E28BD
monochromatic
#584713 #8A6F1D #BD9828 #D9B54A #E3CA7C

Accessibility & contrast

On white

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

On black

7.69
#BD9828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9828
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9828#FFFFFF#000000##000000
##BD98281.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd9828;
/* rgb */ color: rgb(189, 152, 40);
/* oklch */ color: oklch(69.5% 0.130 89.3);
Tailwind
colors: {
  custom: {
    50: '#d5b56b',
    500: '#bd9828',
    950: '#000000',
  },
}
SCSS
$custom: #bd9828;
$custom-light: #d5b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9828",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 45.101,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69518,
    "c": 0.12975,
    "h": 89.3
  },
  "luminance": 0.33428
}

Semantic roles & 50–950 ramp

primary
#BD9828
secondary
#758BCB
accent
#6AE840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9828

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

Preview Lab → · Contrast checker → · Palette generator →

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