#BDB138#BDB138

#BDB138 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.138 H 103.6°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#BDB138
RGBrgb(189, 177, 56)
HSLhsl(55, 54%, 48%)
HSVhsv(55, 70%, 74%)
CMYKcmyk(0%, 6.3%, 70.4%, 25.9%)
CIE-LABlab(71.25, -9.60, 60.25)
CIE-LCHlch(71.25, 61.01, 99.05°)
OKLaboklab(74.89% -0.0324 0.1341)
OKLCHoklch(74.89% 0.138 103.6)
XYZxyz(37.4238, 42.5501, 9.9823)
Luminance0.4255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB138 #3844BD
analogous
#BD6E38 #BDB138 #87BD38
triadic
#BDB138 #38BDB1 #B138BD
tetradic
#BDB138 #38BD6E #3844BD #BD3887
square
#BDB138 #38BD6E #3844BD #BD3887
split-complementary
#BDB138 #3887BD #6E38BD
monochromatic
#5F591C #8E852A #BDB138 #D0C662 #DED791

Accessibility & contrast

On white

2.21
#BDB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#BDB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB138
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB138#FFFFFF#000000##000000
##BDB1381.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB25
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#CBA599
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bdb138;
/* rgb */ color: rgb(189, 177, 56);
/* oklch */ color: oklch(74.9% 0.138 103.6);
Tailwind
colors: {
  custom: {
    50: '#d4c876',
    500: '#bdb138',
    950: '#000000',
  },
}
SCSS
$custom: #bdb138;
$custom-light: #d4c876;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb138",
  "rgb": {
    "r": 189,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 54.586,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74886,
    "c": 0.13793,
    "h": 103.6
  },
  "luminance": 0.42549
}

Semantic roles & 50–950 ramp

primary
#BDB138
secondary
#878DC9
accent
#57DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB138

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

Preview Lab → · Contrast checker → · Palette generator →

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