#BDCD42#BDCD42

#BDCD42 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.1% C 0.160 H 115.7°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#BDCD42
RGBrgb(189, 205, 66)
HSLhsl(67, 58%, 53%)
HSVhsv(67, 68%, 80%)
CMYKcmyk(7.8%, 0%, 67.8%, 19.6%)
CIE-LABlab(78.97, -23.14, 64.17)
CIE-LCHlch(78.97, 68.21, 109.83°)
OKLaboklab(81.08% -0.0694 0.144)
OKLCHoklch(81.08% 0.16 115.7)
XYZxyz(43.8020, 54.8755, 13.4378)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDCD42 #5242CD
analogous
#CD9742 #BDCD42 #78CD42
triadic
#BDCD42 #42BDCD #CD42BD
tetradic
#BDCD42 #42CD97 #5242CD #CD4278
square
#BDCD42 #42CD97 #5242CD #CD4278
split-complementary
#BDCD42 #4278CD #9742CD
monochromatic
#6C761F #98A62C #BDCD42 #CEDA72 #DFE7A3

Accessibility & contrast

On white

1.75
#BDCD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#BDCD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDCD42
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDCD42#FFFFFF#000000##000000
##BDCD421.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32D
Deuteranopia (green-blind)
#DAC54C
Tritanopia (blue-blind)
#C9C2B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #bdcd42;
/* rgb */ color: rgb(189, 205, 66);
/* oklch */ color: oklch(81.1% 0.160 115.7);
Tailwind
colors: {
  custom: {
    50: '#d4dc7e',
    500: '#bdcd42',
    950: '#000000',
  },
}
SCSS
$custom: #bdcd42;
$custom-light: #d4dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bdcd42",
  "rgb": {
    "r": 189,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 66.906,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81075,
    "c": 0.15984,
    "h": 115.7
  },
  "luminance": 0.54875
}

Semantic roles & 50–950 ramp

primary
#BDCD42
secondary
#3E357E
accent
#46E158
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BDCD42

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

Preview Lab → · Contrast checker → · Palette generator →

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