#BFC738#BFC738

#BFC738 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.8% C 0.159 H 112.7°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#BFC738
RGBrgb(191, 199, 56)
HSLhsl(63, 56%, 50%)
HSVhsv(63, 72%, 78%)
CMYKcmyk(4%, 0%, 71.9%, 22%)
CIE-LABlab(77.41, -19.90, 66.31)
CIE-LCHlch(77.41, 69.23, 106.70°)
OKLaboklab(79.84% -0.0614 0.1468)
OKLCHoklch(79.84% 0.159 112.7)
XYZxyz(42.6244, 52.2097, 11.5727)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC738 #4038C7
analogous
#C78838 #BFC738 #77C738
triadic
#BFC738 #38BFC7 #C738BF
tetradic
#BFC738 #38C788 #4038C7 #C73877
square
#BFC738 #38C788 #4038C7 #C73877
split-complementary
#BFC738 #3877C7 #8838C7
monochromatic
#63671D #91972B #BFC738 #CED468 #DEE298

Accessibility & contrast

On white

1.84
#BFC738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#BFC738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC738
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC738#FFFFFF#000000##000000
##BFC7381.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1D
Deuteranopia (green-blind)
#D6C143
Tritanopia (blue-blind)
#CCBBAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bfc738;
/* rgb */ color: rgb(191, 199, 56);
/* oklch */ color: oklch(79.8% 0.159 112.7);
Tailwind
colors: {
  custom: {
    50: '#d6d778',
    500: '#bfc738',
    950: '#000000',
  },
}
SCSS
$custom: #bfc738;
$custom-light: #d6d778;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc738",
  "rgb": {
    "r": 191,
    "g": 199,
    "b": 56
  },
  "hsl": {
    "h": 63.357,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.7984,
    "c": 0.15912,
    "h": 112.7
  },
  "luminance": 0.52209
}

Semantic roles & 50–950 ramp

primary
#BFC738
secondary
#353272
accent
#48DF51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BFC738

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

Preview Lab → · Contrast checker → · Palette generator →

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