#BDB951#BDB951

#BDB951 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.8% C 0.126 H 107.0°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#BDB951
RGBrgb(189, 185, 81)
HSLhsl(58, 45%, 53%)
HSVhsv(58, 57%, 74%)
CMYKcmyk(0%, 2.1%, 57.1%, 25.9%)
CIE-LABlab(73.62, -12.15, 52.18)
CIE-LCHlch(73.62, 53.58, 103.11°)
OKLaboklab(76.84% -0.0369 0.1207)
OKLCHoklch(76.84% 0.126 107)
XYZxyz(39.8216, 46.1120, 14.5858)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB951 #5155BD
analogous
#BD8351 #BDB951 #8BBD51
triadic
#BDB951 #51BDB9 #B951BD
tetradic
#BDB951 #51BD83 #5155BD #BD518B
square
#BDB951 #51BD83 #5155BD #BD518B
split-complementary
#BDB951 #518BBD #8351BD
monochromatic
#6B6929 #979439 #BDB951 #CECB7D #DFDDAA

Accessibility & contrast

On white

2.05
#BDB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#BDB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB951
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB951#FFFFFF#000000##000000
##BDB9511.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B246
Deuteranopia (green-blind)
#C9B757
Tritanopia (blue-blind)
#C9AEA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bdb951;
/* rgb */ color: rgb(189, 185, 81);
/* oklch */ color: oklch(76.8% 0.126 107.0);
Tailwind
colors: {
  custom: {
    50: '#d3cd86',
    500: '#bdb951',
    950: '#000000',
  },
}
SCSS
$custom: #bdb951;
$custom-light: #d3cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb951",
  "rgb": {
    "r": 189,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 57.778,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76837,
    "c": 0.12624,
    "h": 107
  },
  "luminance": 0.46111
}

Semantic roles & 50–950 ramp

primary
#BDB951
secondary
#9E9FCC
accent
#58D553
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BDB951

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

Preview Lab → · Contrast checker → · Palette generator →

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