#BDCF38#BDCF38

#BDCF38 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.5% C 0.168 H 116.3°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#BDCF38
RGBrgb(189, 207, 56)
HSLhsl(67, 61%, 52%)
HSVhsv(67, 73%, 81%)
CMYKcmyk(8.7%, 0%, 72.9%, 18.8%)
CIE-LABlab(79.46, -24.64, 68.22)
CIE-LCHlch(79.46, 72.53, 109.86°)
OKLaboklab(81.45% -0.0744 0.1509)
OKLCHoklch(81.45% 0.168 116.3)
XYZxyz(44.0140, 55.7306, 12.1791)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDCF38 #4A38CF
analogous
#CF9638 #BDCF38 #72CF38
triadic
#BDCF38 #38BDCF #CF38BD
tetradic
#BDCF38 #38CF96 #4A38CF #CF3872
square
#BDCF38 #38CF96 #4A38CF #CF3872
split-complementary
#BDCF38 #3872CF #9638CF
monochromatic
#67711B #94A327 #BDCF38 #CDDB69 #DEE79B

Accessibility & contrast

On white

1.73
#BDCF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#BDCF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDCF38
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDCF38#FFFFFF#000000##000000
##BDCF381.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC419
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#C9C3B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #bdcf38;
/* rgb */ color: rgb(189, 207, 56);
/* oklch */ color: oklch(81.5% 0.168 116.3);
Tailwind
colors: {
  custom: {
    50: '#d4dd79',
    500: '#bdcf38',
    950: '#000000',
  },
}
SCSS
$custom: #bdcf38;
$custom-light: #d4dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bdcf38",
  "rgb": {
    "r": 189,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 67.152,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.8145,
    "c": 0.16826,
    "h": 116.3
  },
  "luminance": 0.5573
}

Semantic roles & 50–950 ramp

primary
#BDCF38
secondary
#3A317A
accent
#44E457
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BDCF38

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

Preview Lab → · Contrast checker → · Palette generator →

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