#BDCC42#BDCC42

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

Color values

HEX#BDCC42
RGBrgb(189, 204, 66)
HSLhsl(67, 58%, 53%)
HSVhsv(67, 68%, 80%)
CMYKcmyk(7.4%, 0%, 67.6%, 20%)
CIE-LABlab(78.69, -22.66, 63.89)
CIE-LCHlch(78.69, 67.78, 109.53°)
OKLaboklab(80.85% -0.068 0.1434)
OKLCHoklch(80.85% 0.159 115.4)
XYZxyz(43.5636, 54.3986, 13.3583)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDCC42 #5142CC
analogous
#CC9642 #BDCC42 #78CC42
triadic
#BDCC42 #42BDCC #CC42BD
tetradic
#BDCC42 #42CC96 #5142CC #CC4278
square
#BDCC42 #42CC96 #5142CC #CC4278
split-complementary
#BDCC42 #4278CC #9642CC
monochromatic
#6B741F #97A42C #BDCC42 #CED972 #DFE6A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDCC42#FFFFFF#000000##000000
##BDCC421.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)
#DAC22D
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#C9C0B0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #bdcc42;
/* rgb */ color: rgb(189, 204, 66);
/* oklch */ color: oklch(80.9% 0.159 115.4);
Tailwind
colors: {
  custom: {
    50: '#d4db7e',
    500: '#bdcc42',
    950: '#000000',
  },
}
SCSS
$custom: #bdcc42;
$custom-light: #d4db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bdcc42",
  "rgb": {
    "r": 189,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 66.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80854,
    "c": 0.15872,
    "h": 115.4
  },
  "luminance": 0.54398
}

Semantic roles & 50–950 ramp

primary
#BDCC42
secondary
#3D357D
accent
#47E158
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BDCC42

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

Preview Lab → · Contrast checker → · Palette generator →

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