#BFD331#BFD331

#BFD331 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.5% C 0.176 H 116.7°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#BFD331
RGBrgb(191, 211, 49)
HSLhsl(67, 65%, 51%)
HSVhsv(67, 77%, 83%)
CMYKcmyk(9.5%, 0%, 76.8%, 17.3%)
CIE-LABlab(80.68, -26.04, 71.63)
CIE-LCHlch(80.68, 76.21, 109.98°)
OKLaboklab(82.45% -0.079 0.1569)
OKLCHoklch(82.45% 0.176 116.7)
XYZxyz(45.3357, 57.8873, 11.6902)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFD331 #4531D3
analogous
#D39631 #BFD331 #6ED331
triadic
#BFD331 #31BFD3 #D331BF
tetradic
#BFD331 #31D396 #4531D3 #D3316E
square
#BFD331 #31D396 #4531D3 #D3316E
split-complementary
#BFD331 #316ED3 #9631D3
monochromatic
#667118 #94A423 #BFD331 #CFDE63 #DEE996

Accessibility & contrast

On white

1.67
#BFD331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#BFD331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFD331
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFD331#FFFFFF#000000##000000
##BFD3311.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C800
Deuteranopia (green-blind)
#E0C940
Tritanopia (blue-blind)
#CBC7B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #bfd331;
/* rgb */ color: rgb(191, 211, 49);
/* oklch */ color: oklch(82.5% 0.176 116.7);
Tailwind
colors: {
  custom: {
    50: '#d6e077',
    500: '#bfd331',
    950: '#000000',
  },
}
SCSS
$custom: #bfd331;
$custom-light: #d6e077;
$custom-dark: #000000;
JSON
{
  "hex": "#bfd331",
  "rgb": {
    "r": 191,
    "g": 211,
    "b": 49
  },
  "hsl": {
    "h": 67.407,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.82451,
    "c": 0.17562,
    "h": 116.7
  },
  "luminance": 0.57887
}

Semantic roles & 50–950 ramp

primary
#BFD331
secondary
#372E7A
accent
#40E855
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #BFD331

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

Preview Lab → · Contrast checker → · Palette generator →

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