#BDC938#BDC938

#BDC938 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.1% C 0.162 H 114.2°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#BDC938
RGBrgb(189, 201, 56)
HSLhsl(65, 57%, 50%)
HSVhsv(65, 72%, 79%)
CMYKcmyk(6%, 0%, 72.1%, 21.2%)
CIE-LABlab(77.80, -21.72, 66.64)
CIE-LCHlch(77.80, 70.09, 108.05°)
OKLaboklab(80.12% -0.0663 0.1476)
OKLCHoklch(80.12% 0.162 114.2)
XYZxyz(42.5879, 52.8784, 11.7037)
Luminance0.5288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC938 #4438C9
analogous
#C98D38 #BDC938 #74C938
triadic
#BDC938 #38BDC9 #C938BD
tetradic
#BDC938 #38C98D #4438C9 #C93874
square
#BDC938 #38C98D #4438C9 #C93874
split-complementary
#BDC938 #3874C9 #8D38C9
monochromatic
#636A1D #919A2A #BDC938 #CDD668 #DDE398

Accessibility & contrast

On white

1.81
#BDC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#BDC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC938
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC938#FFFFFF#000000##000000
##BDC9381.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D7C244
Tritanopia (blue-blind)
#C9BDAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bdc938;
/* rgb */ color: rgb(189, 201, 56);
/* oklch */ color: oklch(80.1% 0.162 114.2);
Tailwind
colors: {
  custom: {
    50: '#d4d979',
    500: '#bdc938',
    950: '#000000',
  },
}
SCSS
$custom: #bdc938;
$custom-light: #d4d979;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc938",
  "rgb": {
    "r": 189,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 64.966,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.8012,
    "c": 0.16179,
    "h": 114.2
  },
  "luminance": 0.52878
}

Semantic roles & 50–950 ramp

primary
#BDC938
secondary
#373174
accent
#47E154
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BDC938

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

Preview Lab → · Contrast checker → · Palette generator →

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