#BDC340#BDC340

#BDC340 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.9% C 0.150 H 111.9°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#BDC340
RGBrgb(189, 195, 64)
HSLhsl(63, 52%, 51%)
HSVhsv(63, 67%, 76%)
CMYKcmyk(3.1%, 0%, 67.2%, 23.5%)
CIE-LABlab(76.20, -18.33, 62.13)
CIE-LCHlch(76.20, 64.78, 106.44°)
OKLaboklab(78.86% -0.0561 0.1394)
OKLCHoklch(78.86% 0.15 111.9)
XYZxyz(41.4280, 50.2202, 12.3606)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC340 #4640C3
analogous
#C38740 #BDC340 #7BC340
triadic
#BDC340 #40BDC3 #C340BD
tetradic
#BDC340 #40C387 #4640C3 #C3407B
square
#BDC340 #40C387 #4640C3 #C3407B
split-complementary
#BDC340 #407BC3 #8740C3
monochromatic
#656821 #92972F #BDC340 #CDD26F #DDE09D

Accessibility & contrast

On white

1.90
#BDC340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#BDC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC340
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC340#FFFFFF#000000##000000
##BDC3401.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2C
Deuteranopia (green-blind)
#D2BE49
Tritanopia (blue-blind)
#CAB7A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bdc340;
/* rgb */ color: rgb(189, 195, 64);
/* oklch */ color: oklch(78.9% 0.150 111.9);
Tailwind
colors: {
  custom: {
    50: '#d4d57c',
    500: '#bdc340',
    950: '#000000',
  },
}
SCSS
$custom: #bdc340;
$custom-light: #d4d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc340",
  "rgb": {
    "r": 189,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 62.748,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78856,
    "c": 0.15027,
    "h": 111.9
  },
  "luminance": 0.50219
}

Semantic roles & 50–950 ramp

primary
#BDC340
secondary
#383572
accent
#4CDC53
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BDC340

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

Preview Lab → · Contrast checker → · Palette generator →

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