#BDB151#BDB151

#BDB151 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.118 H 102.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#BDB151
RGBrgb(189, 177, 81)
HSLhsl(53, 45%, 53%)
HSVhsv(53, 57%, 74%)
CMYKcmyk(0%, 6.3%, 57.1%, 25.9%)
CIE-LABlab(71.46, -8.01, 49.74)
CIE-LCHlch(71.46, 50.38, 99.14°)
OKLaboklab(75.12% -0.025 0.1155)
OKLCHoklch(75.12% 0.118 102.2)
XYZxyz(38.1949, 42.8586, 14.0436)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB151 #515DBD
analogous
#BD7B51 #BDB151 #93BD51
triadic
#BDB151 #51BDB1 #B151BD
tetradic
#BDB151 #51BD7B #515DBD #BD5193
square
#BDB151 #51BD7B #515DBD #BD5193
split-complementary
#BDB151 #5193BD #7B51BD
monochromatic
#6B6429 #978D39 #BDB151 #CEC57D #DFD9AA

Accessibility & contrast

On white

2.19
#BDB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#BDB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB151
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB151#FFFFFF#000000##000000
##BDB1511.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC47
Deuteranopia (green-blind)
#C3B156
Tritanopia (blue-blind)
#CAA69C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bdb151;
/* rgb */ color: rgb(189, 177, 81);
/* oklch */ color: oklch(75.1% 0.118 102.2);
Tailwind
colors: {
  custom: {
    50: '#d3c885',
    500: '#bdb151',
    950: '#000000',
  },
}
SCSS
$custom: #bdb151;
$custom-light: #d3c885;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb151",
  "rgb": {
    "r": 189,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 53.333,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7512,
    "c": 0.1182,
    "h": 102.2
  },
  "luminance": 0.42857
}

Semantic roles & 50–950 ramp

primary
#BDB151
secondary
#9EA3CC
accent
#62D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BDB151

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

Preview Lab → · Contrast checker → · Palette generator →

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