#BDC338#BDC338

#BDC338 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.8% C 0.155 H 111.9°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#BDC338
RGBrgb(189, 195, 56)
HSLhsl(63, 55%, 49%)
HSVhsv(63, 71%, 76%)
CMYKcmyk(3.1%, 0%, 71.3%, 23.5%)
CIE-LABlab(76.15, -18.75, 65.04)
CIE-LCHlch(76.15, 67.69, 106.08°)
OKLaboklab(78.8% -0.0581 0.1442)
OKLCHoklch(78.8% 0.155 111.9)
XYZxyz(41.2165, 50.1356, 11.2466)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC338 #3E38C3
analogous
#C38438 #BDC338 #78C338
triadic
#BDC338 #38BDC3 #C338BD
tetradic
#BDC338 #38C384 #3E38C3 #C33878
square
#BDC338 #38C384 #3E38C3 #C33878
split-complementary
#BDC338 #3878C3 #8438C3
monochromatic
#61641D #8F932A #BDC338 #CED365 #DDE195

Accessibility & contrast

On white

1.90
#BDC338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#BDC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC338
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC338#FFFFFF#000000##000000
##BDC3381.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1F
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#CAB7A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bdc338;
/* rgb */ color: rgb(189, 195, 56);
/* oklch */ color: oklch(78.8% 0.155 111.9);
Tailwind
colors: {
  custom: {
    50: '#d4d478',
    500: '#bdc338',
    950: '#000000',
  },
}
SCSS
$custom: #bdc338;
$custom-light: #d4d478;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc338",
  "rgb": {
    "r": 189,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 62.59,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78798,
    "c": 0.15546,
    "h": 111.9
  },
  "luminance": 0.50135
}

Semantic roles & 50–950 ramp

primary
#BDC338
secondary
#33316E
accent
#49DF50
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BDC338

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

Preview Lab → · Contrast checker → · Palette generator →

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