#BFD938#BFD938

#BFD938 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 83.8% C 0.179 H 118.6°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#BFD938
RGBrgb(191, 217, 56)
HSLhsl(70, 68%, 54%)
HSVhsv(70, 74%, 85%)
CMYKcmyk(12%, 0%, 74.2%, 14.9%)
CIE-LABlab(82.37, -28.59, 71.03)
CIE-LCHlch(82.37, 76.57, 111.93°)
OKLaboklab(83.83% -0.0855 0.1568)
OKLCHoklch(83.83% 0.179 118.6)
XYZxyz(47.0136, 60.9880, 13.0358)
Luminance0.6099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFD938 #5238D9
analogous
#D9A238 #BFD938 #6FD938
triadic
#BFD938 #38BFD9 #D938BF
tetradic
#BFD938 #38D9A2 #5238D9 #D9386F
square
#BFD938 #38D9A2 #5238D9 #D9386F
split-complementary
#BFD938 #386FD9 #A238D9
monochromatic
#6E7E18 #9BB222 #BFD938 #D0E36B #E0ED9F

Accessibility & contrast

On white

1.59
#BFD938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#BFD938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFD938
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFD938#FFFFFF#000000##000000
##BFD9381.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD12
Deuteranopia (green-blind)
#E4CE46
Tritanopia (blue-blind)
#CACDBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #bfd938;
/* rgb */ color: rgb(191, 217, 56);
/* oklch */ color: oklch(83.8% 0.179 118.6);
Tailwind
colors: {
  custom: {
    50: '#d6e47a',
    500: '#bfd938',
    950: '#000000',
  },
}
SCSS
$custom: #bfd938;
$custom-light: #d6e47a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfd938",
  "rgb": {
    "r": 191,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 69.689,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83827,
    "c": 0.17857,
    "h": 118.6
  },
  "luminance": 0.60988
}

Semantic roles & 50–950 ramp

primary
#BFD938
secondary
#3D3086
accent
#3DEB59
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BFD938

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

Preview Lab → · Contrast checker → · Palette generator →

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