#BDC940#BDC940

#BDC940 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.2% C 0.157 H 114.3°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#BDC940
RGBrgb(189, 201, 64)
HSLhsl(65, 56%, 52%)
HSVhsv(65, 68%, 79%)
CMYKcmyk(6%, 0%, 68.2%, 21.2%)
CIE-LABlab(77.85, -21.30, 63.80)
CIE-LCHlch(77.85, 67.26, 108.46°)
OKLaboklab(80.18% -0.0644 0.1429)
OKLCHoklch(80.18% 0.157 114.3)
XYZxyz(42.7995, 52.9631, 12.8178)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC940 #4C40C9
analogous
#C99040 #BDC940 #79C940
triadic
#BDC940 #40BDC9 #C940BD
tetradic
#BDC940 #40C990 #4C40C9 #C94079
square
#BDC940 #40C990 #4C40C9 #C94079
split-complementary
#BDC940 #4079C9 #9040C9
monochromatic
#686F1F #959F2D #BDC940 #CDD670 #DEE49F

Accessibility & contrast

On white

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

On black

11.59
#BDC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC940
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC940#FFFFFF#000000##000000
##BDC9401.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#C9BDAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bdc940;
/* rgb */ color: rgb(189, 201, 64);
/* oklch */ color: oklch(80.2% 0.157 114.3);
Tailwind
colors: {
  custom: {
    50: '#d4d97d',
    500: '#bdc940',
    950: '#000000',
  },
}
SCSS
$custom: #bdc940;
$custom-light: #d4d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc940",
  "rgb": {
    "r": 189,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 65.255,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80176,
    "c": 0.15676,
    "h": 114.3
  },
  "luminance": 0.52962
}

Semantic roles & 50–950 ramp

primary
#BDC940
secondary
#3B3578
accent
#49DF56
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BDC940

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

Preview Lab → · Contrast checker → · Palette generator →

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