#BDB931#BDB931

#BDB931 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.6% C 0.150 H 107.7°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#BDB931
RGBrgb(189, 185, 49)
HSLhsl(58, 59%, 47%)
HSVhsv(58, 74%, 74%)
CMYKcmyk(0%, 2.1%, 74.1%, 25.9%)
CIE-LABlab(73.38, -14.04, 64.82)
CIE-LCHlch(73.38, 66.32, 102.22°)
OKLaboklab(76.57% -0.0456 0.1425)
OKLCHoklch(76.57% 0.15 107.7)
XYZxyz(38.8911, 45.7398, 9.6852)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB931 #3135BD
analogous
#BD7331 #BDB931 #7BBD31
triadic
#BDB931 #31BDB9 #B931BD
tetradic
#BDB931 #31BD73 #3135BD #BD317B
square
#BDB931 #31BD73 #3135BD #BD317B
split-complementary
#BDB931 #317BBD #7331BD
monochromatic
#5C5A18 #8C8924 #BDB931 #D4D058 #E0DE88

Accessibility & contrast

On white

2.07
#BDB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#BDB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB931
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB931#FFFFFF#000000##000000
##BDB9311.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B214
Deuteranopia (green-blind)
#CBB63C
Tritanopia (blue-blind)
#CBAD9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bdb931;
/* rgb */ color: rgb(189, 185, 49);
/* oklch */ color: oklch(76.6% 0.150 107.7);
Tailwind
colors: {
  custom: {
    50: '#d5cd73',
    500: '#bdb931',
    950: '#000000',
  },
}
SCSS
$custom: #bdb931;
$custom-light: #d5cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb931",
  "rgb": {
    "r": 189,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 58.286,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76567,
    "c": 0.14959,
    "h": 107.7
  },
  "luminance": 0.45738
}

Semantic roles & 50–950 ramp

primary
#BDB931
secondary
#8082CA
accent
#4AE246
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB931

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

Preview Lab → · Contrast checker → · Palette generator →

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