#BDCA31#BDCA31

#BDCA31 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.3% C 0.167 H 114.5°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#BDCA31
RGBrgb(189, 202, 49)
HSLhsl(65, 61%, 49%)
HSVhsv(65, 76%, 79%)
CMYKcmyk(6.4%, 0%, 75.7%, 20.8%)
CIE-LABlab(78.04, -22.52, 69.16)
CIE-LCHlch(78.04, 72.73, 108.04°)
OKLaboklab(80.3% -0.0692 0.1517)
OKLCHoklch(80.3% 0.167 114.5)
XYZxyz(42.6624, 53.2824, 10.9423)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDCA31 #3E31CA
analogous
#CA8B31 #BDCA31 #71CA31
triadic
#BDCA31 #31BDCA #CA31BD
tetradic
#BDCA31 #31CA8B #3E31CA #CA3171
square
#BDCA31 #31CA8B #3E31CA #CA3171
split-complementary
#BDCA31 #3171CA #8B31CA
monochromatic
#616719 #8F9925 #BDCA31 #CED860 #DDE491

Accessibility & contrast

On white

1.80
#BDCA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#BDCA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDCA31
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDCA31#FFFFFF#000000##000000
##BDCA311.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C006
Deuteranopia (green-blind)
#D8C23F
Tritanopia (blue-blind)
#CABEAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bdca31;
/* rgb */ color: rgb(189, 202, 49);
/* oklch */ color: oklch(80.3% 0.167 114.5);
Tailwind
colors: {
  custom: {
    50: '#d5da75',
    500: '#bdca31',
    950: '#000000',
  },
}
SCSS
$custom: #bdca31;
$custom-light: #d5da75;
$custom-dark: #000000;
JSON
{
  "hex": "#bdca31",
  "rgb": {
    "r": 189,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 65.098,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.80299,
    "c": 0.16671,
    "h": 114.5
  },
  "luminance": 0.53282
}

Semantic roles & 50–950 ramp

primary
#BDCA31
secondary
#332E72
accent
#44E451
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BDCA31

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

Preview Lab → · Contrast checker → · Palette generator →

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