#BDC538#BDC538

#BDC538 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.2% C 0.158 H 112.7°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#BDC538
RGBrgb(189, 197, 56)
HSLhsl(63, 56%, 50%)
HSVhsv(63, 72%, 77%)
CMYKcmyk(4.1%, 0%, 71.6%, 22.7%)
CIE-LABlab(76.70, -19.75, 65.58)
CIE-LCHlch(76.70, 68.48, 106.76°)
OKLaboklab(79.24% -0.0609 0.1453)
OKLCHoklch(79.24% 0.158 112.7)
XYZxyz(41.6676, 51.0378, 11.3969)
Luminance0.5104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC538 #4038C5
analogous
#C58638 #BDC538 #77C538
triadic
#BDC538 #38BDC5 #C538BD
tetradic
#BDC538 #38C586 #4038C5 #C53877
square
#BDC538 #38C586 #4038C5 #C53877
split-complementary
#BDC538 #3877C5 #8638C5
monochromatic
#62661D #8F952A #BDC538 #CDD467 #DDE196

Accessibility & contrast

On white

1.87
#BDC538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#BDC538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC538
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC538#FFFFFF#000000##000000
##BDC5381.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1E
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#CAB9AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bdc538;
/* rgb */ color: rgb(189, 197, 56);
/* oklch */ color: oklch(79.2% 0.158 112.7);
Tailwind
colors: {
  custom: {
    50: '#d4d678',
    500: '#bdc538',
    950: '#000000',
  },
}
SCSS
$custom: #bdc538;
$custom-light: #d4d678;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc538",
  "rgb": {
    "r": 189,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 63.404,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79238,
    "c": 0.15755,
    "h": 112.7
  },
  "luminance": 0.51037
}

Semantic roles & 50–950 ramp

primary
#BDC538
secondary
#353170
accent
#49DF51
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #BDC538

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

Preview Lab → · Contrast checker → · Palette generator →

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