#BFC938#BFC938

#BFC938 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.3% C 0.161 H 113.4°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#BFC938
RGBrgb(191, 201, 56)
HSLhsl(64, 57%, 50%)
HSVhsv(64, 72%, 79%)
CMYKcmyk(5%, 0%, 72.1%, 21.2%)
CIE-LABlab(77.96, -20.88, 66.83)
CIE-LCHlch(77.96, 70.02, 107.35°)
OKLaboklab(80.28% -0.0641 0.1479)
OKLCHoklch(80.28% 0.161 113.4)
XYZxyz(43.0876, 53.1361, 11.7271)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC938 #4238C9
analogous
#C98A38 #BFC938 #76C938
triadic
#BFC938 #38BFC9 #C938BF
tetradic
#BFC938 #38C98A #4238C9 #C93876
square
#BFC938 #38C98A #4238C9 #C93876
split-complementary
#BFC938 #3876C9 #8A38C9
monochromatic
#656A1D #929A2A #BFC938 #CED668 #DEE398

Accessibility & contrast

On white

1.81
#BFC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#BFC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC938
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC938#FFFFFF#000000##000000
##BFC9381.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D8C244
Tritanopia (blue-blind)
#CCBDAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bfc938;
/* rgb */ color: rgb(191, 201, 56);
/* oklch */ color: oklch(80.3% 0.161 113.4);
Tailwind
colors: {
  custom: {
    50: '#d6d979',
    500: '#bfc938',
    950: '#000000',
  },
}
SCSS
$custom: #bfc938;
$custom-light: #d6d979;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc938",
  "rgb": {
    "r": 191,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 64.138,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80279,
    "c": 0.16121,
    "h": 113.4
  },
  "luminance": 0.53135
}

Semantic roles & 50–950 ramp

primary
#BFC938
secondary
#363174
accent
#47E152
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BFC938

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

Preview Lab → · Contrast checker → · Palette generator →

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