#BDC040#BDC040

#BDC040 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.2% C 0.147 H 110.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#BDC040
RGBrgb(189, 192, 64)
HSLhsl(61, 50%, 50%)
HSVhsv(61, 67%, 75%)
CMYKcmyk(1.6%, 0%, 66.7%, 24.7%)
CIE-LABlab(75.38, -16.83, 61.30)
CIE-LCHlch(75.38, 63.57, 105.35°)
OKLaboklab(78.2% -0.0519 0.1376)
OKLCHoklch(78.2% 0.147 110.7)
XYZxyz(40.7626, 48.8893, 12.1388)
Luminance0.4889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC040 #4340C0
analogous
#C08340 #BDC040 #7DC040
triadic
#BDC040 #40BDC0 #C040BD
tetradic
#BDC040 #40C083 #4340C0 #C0407D
square
#BDC040 #40C083 #4340C0 #C0407D
split-complementary
#BDC040 #407DC0 #8340C0
monochromatic
#636421 #909230 #BDC040 #CDCF6E #DDDE9C

Accessibility & contrast

On white

1.95
#BDC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#BDC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC040
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC040#FFFFFF#000000##000000
##BDC0401.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D0BB49
Tritanopia (blue-blind)
#CAB4A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bdc040;
/* rgb */ color: rgb(189, 192, 64);
/* oklch */ color: oklch(78.2% 0.147 110.7);
Tailwind
colors: {
  custom: {
    50: '#d4d27c',
    500: '#bdc040',
    950: '#000000',
  },
}
SCSS
$custom: #bdc040;
$custom-light: #d4d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc040",
  "rgb": {
    "r": 189,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 61.406,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78199,
    "c": 0.14711,
    "h": 110.7
  },
  "luminance": 0.48888
}

Semantic roles & 50–950 ramp

primary
#BDC040
secondary
#9391CB
accent
#4EDA51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BDC040

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

Preview Lab → · Contrast checker → · Palette generator →

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