#BDB251#BDB251

#BDB251 is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.3% C 0.119 H 102.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#BDB251
RGBrgb(189, 178, 81)
HSLhsl(54, 45%, 53%)
HSVhsv(54, 57%, 74%)
CMYKcmyk(0%, 5.8%, 57.1%, 25.9%)
CIE-LABlab(71.73, -8.53, 50.05)
CIE-LCHlch(71.73, 50.77, 99.67°)
OKLaboklab(75.33% -0.0265 0.1162)
OKLCHoklch(75.33% 0.119 102.9)
XYZxyz(38.3932, 43.2551, 14.1097)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB251 #515CBD
analogous
#BD7C51 #BDB251 #92BD51
triadic
#BDB251 #51BDB2 #B251BD
tetradic
#BDB251 #51BD7C #515CBD #BD5192
square
#BDB251 #51BD7C #515CBD #BD5192
split-complementary
#BDB251 #5192BD #7C51BD
monochromatic
#6B6429 #978E39 #BDB251 #CEC67D #DFD9AA

Accessibility & contrast

On white

2.18
#BDB251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#BDB251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB251
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB251#FFFFFF#000000##000000
##BDB2511.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD47
Deuteranopia (green-blind)
#C4B256
Tritanopia (blue-blind)
#CAA79D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bdb251;
/* rgb */ color: rgb(189, 178, 81);
/* oklch */ color: oklch(75.3% 0.119 102.9);
Tailwind
colors: {
  custom: {
    50: '#d3c885',
    500: '#bdb251',
    950: '#000000',
  },
}
SCSS
$custom: #bdb251;
$custom-light: #d3c885;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb251",
  "rgb": {
    "r": 189,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 53.889,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75334,
    "c": 0.11917,
    "h": 102.9
  },
  "luminance": 0.43254
}

Semantic roles & 50–950 ramp

primary
#BDB251
secondary
#9EA2CC
accent
#60D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BDB251

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

Preview Lab → · Contrast checker → · Palette generator →

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