#BDC840#BDC840

#BDC840 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.0% C 0.156 H 113.9°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#BDC840
RGBrgb(189, 200, 64)
HSLhsl(65, 55%, 52%)
HSVhsv(65, 68%, 78%)
CMYKcmyk(5.5%, 0%, 68%, 21.6%)
CIE-LABlab(77.58, -20.81, 63.52)
CIE-LCHlch(77.58, 66.84, 108.14°)
OKLaboklab(79.96% -0.0631 0.1423)
OKLCHoklch(79.96% 0.156 113.9)
XYZxyz(42.5671, 52.4984, 12.7403)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC840 #4B40C8
analogous
#C88F40 #BDC840 #79C840
triadic
#BDC840 #40BDC8 #C840BD
tetradic
#BDC840 #40C88F #4B40C8 #C84079
square
#BDC840 #40C88F #4B40C8 #C84079
split-complementary
#BDC840 #4079C8 #8F40C8
monochromatic
#686E20 #949D2D #BDC840 #CDD670 #DEE39F

Accessibility & contrast

On white

1.83
#BDC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#BDC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC840
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC840#FFFFFF#000000##000000
##BDC8401.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#C9BCAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bdc840;
/* rgb */ color: rgb(189, 200, 64);
/* oklch */ color: oklch(80.0% 0.156 113.9);
Tailwind
colors: {
  custom: {
    50: '#d4d87d',
    500: '#bdc840',
    950: '#000000',
  },
}
SCSS
$custom: #bdc840;
$custom-light: #d4d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc840",
  "rgb": {
    "r": 189,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 64.853,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79955,
    "c": 0.15566,
    "h": 113.9
  },
  "luminance": 0.52498
}

Semantic roles & 50–950 ramp

primary
#BDC840
secondary
#3A3577
accent
#49DF55
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BDC840

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

Preview Lab → · Contrast checker → · Palette generator →

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