#BDCC40#BDCC40

#BDCC40 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 80.8% C 0.160 H 115.4°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#BDCC40
RGBrgb(189, 204, 64)
HSLhsl(66, 58%, 53%)
HSVhsv(66, 69%, 80%)
CMYKcmyk(7.4%, 0%, 68.6%, 20%)
CIE-LABlab(78.68, -22.77, 64.63)
CIE-LCHlch(78.68, 68.52, 109.41°)
OKLaboklab(80.84% -0.0685 0.1446)
OKLCHoklch(80.84% 0.16 115.4)
XYZxyz(43.5057, 54.3754, 13.0532)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDCC40 #4F40CC
analogous
#CC9540 #BDCC40 #77CC40
triadic
#BDCC40 #40BDCC #CC40BD
tetradic
#BDCC40 #40CC95 #4F40CC #CC4077
square
#BDCC40 #40CC95 #4F40CC #CC4077
split-complementary
#BDCC40 #4077CC #9540CC
monochromatic
#6A731F #96A32C #BDCC40 #CED970 #DEE6A1

Accessibility & contrast

On white

1.77
#BDCC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#BDCC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDCC40
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDCC40#FFFFFF#000000##000000
##BDCC401.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#C9C0B0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #bdcc40;
/* rgb */ color: rgb(189, 204, 64);
/* oklch */ color: oklch(80.8% 0.160 115.4);
Tailwind
colors: {
  custom: {
    50: '#d4db7d',
    500: '#bdcc40',
    950: '#000000',
  },
}
SCSS
$custom: #bdcc40;
$custom-light: #d4db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdcc40",
  "rgb": {
    "r": 189,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 66.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80839,
    "c": 0.16005,
    "h": 115.4
  },
  "luminance": 0.54375
}

Semantic roles & 50–950 ramp

primary
#BDCC40
secondary
#3C347C
accent
#47E157
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BDCC40

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

Preview Lab → · Contrast checker → · Palette generator →

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