#BDB838#BDB838

#BDB838 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.4% C 0.144 H 107.1°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#BDB838
RGBrgb(189, 184, 56)
HSLhsl(58, 54%, 48%)
HSVhsv(58, 70%, 74%)
CMYKcmyk(0%, 2.6%, 70.4%, 25.9%)
CIE-LABlab(73.15, -13.21, 62.12)
CIE-LCHlch(73.15, 63.50, 102.00°)
OKLaboklab(76.4% -0.0425 0.138)
OKLCHoklch(76.4% 0.144 107.1)
XYZxyz(38.8420, 45.3866, 10.4551)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB838 #383DBD
analogous
#BD7538 #BDB838 #80BD38
triadic
#BDB838 #38BDB8 #B838BD
tetradic
#BDB838 #38BD75 #383DBD #BD3880
square
#BDB838 #38BD75 #383DBD #BD3880
split-complementary
#BDB838 #3880BD #7538BD
monochromatic
#5F5C1C #8E8A2A #BDB838 #D0CC62 #DEDB91

Accessibility & contrast

On white

2.08
#BDB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#BDB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB838
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB838#FFFFFF#000000##000000
##BDB8381.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B123
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#CBAC9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bdb838;
/* rgb */ color: rgb(189, 184, 56);
/* oklch */ color: oklch(76.4% 0.144 107.1);
Tailwind
colors: {
  custom: {
    50: '#d4cd77',
    500: '#bdb838',
    950: '#000000',
  },
}
SCSS
$custom: #bdb838;
$custom-light: #d4cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb838",
  "rgb": {
    "r": 189,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 57.744,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76396,
    "c": 0.14443,
    "h": 107.1
  },
  "luminance": 0.45385
}

Semantic roles & 50–950 ramp

primary
#BDB838
secondary
#878AC9
accent
#50DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB838

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

Preview Lab → · Contrast checker → · Palette generator →

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