#BDB938#BDB938

#BDB938 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.6% C 0.145 H 107.6°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#BDB938
RGBrgb(189, 185, 56)
HSLhsl(58, 54%, 48%)
HSVhsv(58, 70%, 74%)
CMYKcmyk(0%, 2.1%, 70.4%, 25.9%)
CIE-LABlab(73.42, -13.72, 62.38)
CIE-LCHlch(73.42, 63.87, 102.40°)
OKLaboklab(76.61% -0.044 0.1386)
OKLCHoklch(76.61% 0.145 107.6)
XYZxyz(39.0505, 45.8036, 10.5246)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB938 #383CBD
analogous
#BD7638 #BDB938 #7FBD38
triadic
#BDB938 #38BDB9 #B938BD
tetradic
#BDB938 #38BD76 #383CBD #BD387F
square
#BDB938 #38BD76 #383CBD #BD387F
split-complementary
#BDB938 #387FBD #7638BD
monochromatic
#5F5D1C #8E8B2A #BDB938 #D0CD62 #DEDC91

Accessibility & contrast

On white

2.07
#BDB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#BDB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB938
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB938#FFFFFF#000000##000000
##BDB9381.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B222
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#CBADA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bdb938;
/* rgb */ color: rgb(189, 185, 56);
/* oklch */ color: oklch(76.6% 0.145 107.6);
Tailwind
colors: {
  custom: {
    50: '#d4cd77',
    500: '#bdb938',
    950: '#000000',
  },
}
SCSS
$custom: #bdb938;
$custom-light: #d4cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb938",
  "rgb": {
    "r": 189,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 58.195,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76613,
    "c": 0.14539,
    "h": 107.6
  },
  "luminance": 0.45802
}

Semantic roles & 50–950 ramp

primary
#BDB938
secondary
#8789C9
accent
#4FDE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB938

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

Preview Lab → · Contrast checker → · Palette generator →

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