#BFC338#BFC338

#BFC338 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.0% C 0.155 H 111.1°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#BFC338
RGBrgb(191, 195, 56)
HSLhsl(62, 55%, 49%)
HSVhsv(62, 71%, 76%)
CMYKcmyk(2.1%, 0%, 71.3%, 23.5%)
CIE-LABlab(76.31, -17.91, 65.25)
CIE-LCHlch(76.31, 67.66, 105.35°)
OKLaboklab(78.96% -0.0558 0.1446)
OKLCHoklch(78.96% 0.155 111.1)
XYZxyz(41.7162, 50.3932, 11.2700)
Luminance0.5039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC338 #3C38C3
analogous
#C38238 #BFC338 #79C338
triadic
#BFC338 #38BFC3 #C338BF
tetradic
#BFC338 #38C382 #3C38C3 #C33879
square
#BFC338 #38C382 #3C38C3 #C33879
split-complementary
#BFC338 #3879C3 #8238C3
monochromatic
#62641D #90932A #BFC338 #D0D365 #DEE195

Accessibility & contrast

On white

1.90
#BFC338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#BFC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC338
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC338#FFFFFF#000000##000000
##BFC3381.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#CCB7A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bfc338;
/* rgb */ color: rgb(191, 195, 56);
/* oklch */ color: oklch(79.0% 0.155 111.1);
Tailwind
colors: {
  custom: {
    50: '#d6d478',
    500: '#bfc338',
    950: '#000000',
  },
}
SCSS
$custom: #bfc338;
$custom-light: #d6d478;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc338",
  "rgb": {
    "r": 191,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 61.727,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78962,
    "c": 0.15498,
    "h": 111.1
  },
  "luminance": 0.50392
}

Semantic roles & 50–950 ramp

primary
#BFC338
secondary
#33316E
accent
#49DF4D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BFC338

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

Preview Lab → · Contrast checker → · Palette generator →

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