#BDB538#BDB538

#BDB538 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.142 H 105.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#BDB538
RGBrgb(189, 181, 56)
HSLhsl(56, 54%, 48%)
HSVhsv(56, 70%, 74%)
CMYKcmyk(0%, 4.2%, 70.4%, 25.9%)
CIE-LABlab(72.33, -11.67, 61.32)
CIE-LCHlch(72.33, 62.42, 100.77°)
OKLaboklab(75.75% -0.0382 0.1363)
OKLCHoklch(75.75% 0.142 105.7)
XYZxyz(38.2255, 44.1535, 10.2495)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB538 #3840BD
analogous
#BD7238 #BDB538 #82BD38
triadic
#BDB538 #38BDB5 #B538BD
tetradic
#BDB538 #38BD72 #3840BD #BD3882
square
#BDB538 #38BD72 #3840BD #BD3882
split-complementary
#BDB538 #3882BD #7238BD
monochromatic
#5F5B1C #8E882A #BDB538 #D0CA62 #DEDA91

Accessibility & contrast

On white

2.14
#BDB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#BDB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB538
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB538#FFFFFF#000000##000000
##BDB5381.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE24
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#CBA99C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bdb538;
/* rgb */ color: rgb(189, 181, 56);
/* oklch */ color: oklch(75.7% 0.142 105.7);
Tailwind
colors: {
  custom: {
    50: '#d4ca77',
    500: '#bdb538',
    950: '#000000',
  },
}
SCSS
$custom: #bdb538;
$custom-light: #d4ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb538",
  "rgb": {
    "r": 189,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 56.391,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75747,
    "c": 0.14159,
    "h": 105.7
  },
  "luminance": 0.44152
}

Semantic roles & 50–950 ramp

primary
#BDB538
secondary
#878BC9
accent
#53DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB538

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

Preview Lab → · Contrast checker → · Palette generator →

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