#BDC738#BDC738

#BDC738 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.7% C 0.160 H 113.5°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#BDC738
RGBrgb(189, 199, 56)
HSLhsl(64, 56%, 50%)
HSVhsv(64, 72%, 78%)
CMYKcmyk(5%, 0%, 71.9%, 22%)
CIE-LABlab(77.25, -20.73, 66.11)
CIE-LCHlch(77.25, 69.28, 107.41°)
OKLaboklab(79.68% -0.0636 0.1464)
OKLCHoklch(79.68% 0.16 113.5)
XYZxyz(42.1248, 51.9521, 11.5493)
Luminance0.5195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC738 #4238C7
analogous
#C78A38 #BDC738 #75C738
triadic
#BDC738 #38BDC7 #C738BD
tetradic
#BDC738 #38C78A #4238C7 #C73875
square
#BDC738 #38C78A #4238C7 #C73875
split-complementary
#BDC738 #3875C7 #8A38C7
monochromatic
#62671D #90972B #BDC738 #CDD468 #DDE298

Accessibility & contrast

On white

1.84
#BDC738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#BDC738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC738
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC738#FFFFFF#000000##000000
##BDC7381.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD1D
Deuteranopia (green-blind)
#D6C043
Tritanopia (blue-blind)
#CABBAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bdc738;
/* rgb */ color: rgb(189, 199, 56);
/* oklch */ color: oklch(79.7% 0.160 113.5);
Tailwind
colors: {
  custom: {
    50: '#d4d778',
    500: '#bdc738',
    950: '#000000',
  },
}
SCSS
$custom: #bdc738;
$custom-light: #d4d778;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc738",
  "rgb": {
    "r": 189,
    "g": 199,
    "b": 56
  },
  "hsl": {
    "h": 64.196,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.79678,
    "c": 0.15966,
    "h": 113.5
  },
  "luminance": 0.51951
}

Semantic roles & 50–950 ramp

primary
#BDC738
secondary
#363272
accent
#48DF53
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #BDC738

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

Preview Lab → · Contrast checker → · Palette generator →

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