#BDC918#BDC918

#BDC918 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.175 H 114.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#BDC918
RGBrgb(189, 201, 24)
HSLhsl(64, 79%, 44%)
HSVhsv(64, 88%, 79%)
CMYKcmyk(6%, 0%, 88.1%, 21.2%)
CIE-LABlab(77.67, -22.81, 74.99)
CIE-LCHlch(77.67, 78.38, 106.92°)
OKLaboklab(79.97% -0.0716 0.1602)
OKLCHoklch(79.97% 0.175 114.1)
XYZxyz(42.0392, 52.6589, 8.8136)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC918 #2418C9
analogous
#C97D18 #BDC918 #65C918
triadic
#BDC918 #18BDC9 #C918BD
tetradic
#BDC918 #18C97D #2418C9 #C91865
square
#BDC918 #18C97D #2418C9 #C91865
split-complementary
#BDC918 #1865C9 #7D18C9
monochromatic
#565C0B #8A9211 #BDC918 #DBE737 #E5EE6E

Accessibility & contrast

On white

1.82
#BDC918 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#BDC918 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC918
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC918#FFFFFF#000000##000000
##BDC9181.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D8C12F
Tritanopia (blue-blind)
#CABCAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bdc918;
/* rgb */ color: rgb(189, 201, 24);
/* oklch */ color: oklch(80.0% 0.175 114.1);
Tailwind
colors: {
  custom: {
    50: '#d5d96c',
    500: '#bdc918',
    950: '#000000',
  },
}
SCSS
$custom: #bdc918;
$custom-light: #d5d96c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc918",
  "rgb": {
    "r": 189,
    "g": 201,
    "b": 24
  },
  "hsl": {
    "h": 64.068,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.79974,
    "c": 0.17543,
    "h": 114.1
  },
  "luminance": 0.52658
}

Semantic roles & 50–950 ramp

primary
#BDC918
secondary
#231E67
accent
#33F540
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BDC918

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

Preview Lab → · Contrast checker → · Palette generator →

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