#BDB831#BDB831

#BDB831 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.3% C 0.149 H 107.3°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#BDB831
RGBrgb(189, 184, 49)
HSLhsl(58, 59%, 47%)
HSVhsv(58, 74%, 74%)
CMYKcmyk(0%, 2.6%, 74.1%, 25.9%)
CIE-LABlab(73.10, -13.53, 64.56)
CIE-LCHlch(73.10, 65.97, 101.84°)
OKLaboklab(76.35% -0.0441 0.1419)
OKLCHoklch(76.35% 0.149 107.3)
XYZxyz(38.6827, 45.3229, 9.6157)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB831 #3136BD
analogous
#BD7231 #BDB831 #7CBD31
triadic
#BDB831 #31BDB8 #B831BD
tetradic
#BDB831 #31BD72 #3136BD #BD317C
square
#BDB831 #31BD72 #3136BD #BD317C
split-complementary
#BDB831 #317CBD #7231BD
monochromatic
#5C5918 #8C8924 #BDB831 #D4CF58 #E0DD88

Accessibility & contrast

On white

2.09
#BDB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#BDB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB831
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB831#FFFFFF#000000##000000
##BDB8311.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B115
Deuteranopia (green-blind)
#CAB63B
Tritanopia (blue-blind)
#CBAC9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bdb831;
/* rgb */ color: rgb(189, 184, 49);
/* oklch */ color: oklch(76.3% 0.149 107.3);
Tailwind
colors: {
  custom: {
    50: '#d5cd73',
    500: '#bdb831',
    950: '#000000',
  },
}
SCSS
$custom: #bdb831;
$custom-light: #d5cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb831",
  "rgb": {
    "r": 189,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 57.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7635,
    "c": 0.14864,
    "h": 107.3
  },
  "luminance": 0.45322
}

Semantic roles & 50–950 ramp

primary
#BDB831
secondary
#8082CA
accent
#4BE246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB831

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

Preview Lab → · Contrast checker → · Palette generator →

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