#BFC340#BFC340

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

Color values

HEX#BFC340
RGBrgb(191, 195, 64)
HSLhsl(62, 52%, 51%)
HSVhsv(62, 67%, 76%)
CMYKcmyk(2.1%, 0%, 67.2%, 23.5%)
CIE-LABlab(76.36, -17.49, 62.34)
CIE-LCHlch(76.36, 64.75, 105.67°)
OKLaboklab(79.02% -0.0539 0.1398)
OKLCHoklch(79.02% 0.15 111.1)
XYZxyz(41.9277, 50.4778, 12.3840)
Luminance0.5048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC340 #4440C3
analogous
#C38540 #BFC340 #7DC340
triadic
#BFC340 #40BFC3 #C340BF
tetradic
#BFC340 #40C385 #4440C3 #C3407D
square
#BFC340 #40C385 #4440C3 #C3407D
split-complementary
#BFC340 #407DC3 #8540C3
monochromatic
#666821 #93972F #BFC340 #CFD26F #DEE09D

Accessibility & contrast

On white

1.89
#BFC340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#BFC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC340
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC340#FFFFFF#000000##000000
##BFC3401.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2C
Deuteranopia (green-blind)
#D3BE49
Tritanopia (blue-blind)
#CCB7A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bfc340;
/* rgb */ color: rgb(191, 195, 64);
/* oklch */ color: oklch(79.0% 0.150 111.1);
Tailwind
colors: {
  custom: {
    50: '#d6d47c',
    500: '#bfc340',
    950: '#000000',
  },
}
SCSS
$custom: #bfc340;
$custom-light: #d6d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc340",
  "rgb": {
    "r": 191,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 61.832,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7902,
    "c": 0.14981,
    "h": 111.1
  },
  "luminance": 0.50477
}

Semantic roles & 50–950 ramp

primary
#BFC340
secondary
#373572
accent
#4CDC51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BFC340

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

Preview Lab → · Contrast checker → · Palette generator →

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