#BDCD38#BDCD38

#BDCD38 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.0% C 0.166 H 115.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#BDCD38
RGBrgb(189, 205, 56)
HSLhsl(66, 60%, 51%)
HSVhsv(66, 73%, 80%)
CMYKcmyk(7.8%, 0%, 72.7%, 19.6%)
CIE-LABlab(78.91, -23.67, 67.69)
CIE-LCHlch(78.91, 71.71, 109.27°)
OKLaboklab(81.01% -0.0718 0.1498)
OKLCHoklch(81.01% 0.166 115.6)
XYZxyz(43.5326, 54.7677, 12.0186)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDCD38 #4838CD
analogous
#CD9238 #BDCD38 #72CD38
triadic
#BDCD38 #38BDCD #CD38BD
tetradic
#BDCD38 #38CD92 #4838CD #CD3872
square
#BDCD38 #38CD92 #4838CD #CD3872
split-complementary
#BDCD38 #3872CD #9238CD
monochromatic
#666F1C #93A028 #BDCD38 #CDD969 #DDE69A

Accessibility & contrast

On white

1.76
#BDCD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#BDCD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDCD38
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDCD38#FFFFFF#000000##000000
##BDCD381.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#C9C1B0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #bdcd38;
/* rgb */ color: rgb(189, 205, 56);
/* oklch */ color: oklch(81.0% 0.166 115.6);
Tailwind
colors: {
  custom: {
    50: '#d4dc79',
    500: '#bdcd38',
    950: '#000000',
  },
}
SCSS
$custom: #bdcd38;
$custom-light: #d4dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#bdcd38",
  "rgb": {
    "r": 189,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 66.443,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81006,
    "c": 0.16609,
    "h": 115.6
  },
  "luminance": 0.54767
}

Semantic roles & 50–950 ramp

primary
#BDCD38
secondary
#393178
accent
#45E356
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BDCD38

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

Preview Lab → · Contrast checker → · Palette generator →

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