#BDC540#BDC540

#BDC540 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.3% C 0.152 H 112.7°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#BDC540
RGBrgb(189, 197, 64)
HSLhsl(64, 53%, 51%)
HSVhsv(64, 68%, 77%)
CMYKcmyk(4.1%, 0%, 67.5%, 22.7%)
CIE-LABlab(76.75, -19.33, 62.69)
CIE-LCHlch(76.75, 65.60, 107.13°)
OKLaboklab(79.3% -0.0589 0.1406)
OKLCHoklch(79.3% 0.152 112.7)
XYZxyz(41.8791, 51.1224, 12.5110)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC540 #4840C5
analogous
#C58A40 #BDC540 #7AC540
triadic
#BDC540 #40BDC5 #C540BD
tetradic
#BDC540 #40C58A #4840C5 #C5407A
square
#BDC540 #40C58A #4840C5 #C5407A
split-complementary
#BDC540 #407AC5 #8A40C5
monochromatic
#666A20 #93992F #BDC540 #CDD36F #DDE29E

Accessibility & contrast

On white

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

On black

11.22
#BDC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC540
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC540#FFFFFF#000000##000000
##BDC5401.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2C
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#C9B9AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bdc540;
/* rgb */ color: rgb(189, 197, 64);
/* oklch */ color: oklch(79.3% 0.152 112.7);
Tailwind
colors: {
  custom: {
    50: '#d4d67c',
    500: '#bdc540',
    950: '#000000',
  },
}
SCSS
$custom: #bdc540;
$custom-light: #d4d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc540",
  "rgb": {
    "r": 189,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 63.609,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79295,
    "c": 0.15241,
    "h": 112.7
  },
  "luminance": 0.51121
}

Semantic roles & 50–950 ramp

primary
#BDC540
secondary
#393574
accent
#4BDD54
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BDC540

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

Preview Lab → · Contrast checker → · Palette generator →

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