#BFC838#BFC838

#BFC838 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.1% C 0.160 H 113.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#BFC838
RGBrgb(191, 200, 56)
HSLhsl(64, 57%, 50%)
HSVhsv(64, 72%, 78%)
CMYKcmyk(4.5%, 0%, 72%, 21.6%)
CIE-LABlab(77.68, -20.39, 66.57)
CIE-LCHlch(77.68, 69.62, 107.03°)
OKLaboklab(80.06% -0.0628 0.1474)
OKLCHoklch(80.06% 0.16 113.1)
XYZxyz(42.8553, 52.6714, 11.6497)
Luminance0.5267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC838 #4138C8
analogous
#C88938 #BFC838 #77C838
triadic
#BFC838 #38BFC8 #C838BF
tetradic
#BFC838 #38C889 #4138C8 #C83877
square
#BFC838 #38C889 #4138C8 #C83877
split-complementary
#BFC838 #3877C8 #8938C8
monochromatic
#64691D #92992A #BFC838 #CED568 #DEE398

Accessibility & contrast

On white

1.82
#BFC838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#BFC838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC838
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC838#FFFFFF#000000##000000
##BFC8381.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1C
Deuteranopia (green-blind)
#D7C143
Tritanopia (blue-blind)
#CCBCAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bfc838;
/* rgb */ color: rgb(191, 200, 56);
/* oklch */ color: oklch(80.1% 0.160 113.1);
Tailwind
colors: {
  custom: {
    50: '#d6d879',
    500: '#bfc838',
    950: '#000000',
  },
}
SCSS
$custom: #bfc838;
$custom-light: #d6d879;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc838",
  "rgb": {
    "r": 191,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 63.75,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80059,
    "c": 0.16017,
    "h": 113.1
  },
  "luminance": 0.5267
}

Semantic roles & 50–950 ramp

primary
#BFC838
secondary
#363273
accent
#48E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BFC838

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

Preview Lab → · Contrast checker → · Palette generator →

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