#BFD338#BFD338

#BFD338 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.5% C 0.172 H 116.8°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#BFD338
RGBrgb(191, 211, 56)
HSLhsl(68, 64%, 52%)
HSVhsv(68, 73%, 83%)
CMYKcmyk(9.5%, 0%, 73.5%, 17.3%)
CIE-LABlab(80.71, -25.74, 69.46)
CIE-LCHlch(80.71, 74.08, 110.33°)
OKLaboklab(82.49% -0.0776 0.1535)
OKLCHoklch(82.49% 0.172 116.8)
XYZxyz(45.4951, 57.9510, 12.5296)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFD338 #4C38D3
analogous
#D39A38 #BFD338 #72D338
triadic
#BFD338 #38BFD3 #D338BF
tetradic
#BFD338 #38D39A #4C38D3 #D33872
square
#BFD338 #38D39A #4C38D3 #D33872
split-complementary
#BFD338 #3872D3 #9A38D3
monochromatic
#6B761A #98A925 #BFD338 #CFDE6A #DFE99C

Accessibility & contrast

On white

1.67
#BFD338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#BFD338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFD338
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFD338#FFFFFF#000000##000000
##BFD3381.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C816
Deuteranopia (green-blind)
#E0C945
Tritanopia (blue-blind)
#CBC7B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #bfd338;
/* rgb */ color: rgb(191, 211, 56);
/* oklch */ color: oklch(82.5% 0.172 116.8);
Tailwind
colors: {
  custom: {
    50: '#d6e07a',
    500: '#bfd338',
    950: '#000000',
  },
}
SCSS
$custom: #bfd338;
$custom-light: #d6e07a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfd338",
  "rgb": {
    "r": 191,
    "g": 211,
    "b": 56
  },
  "hsl": {
    "h": 67.742,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82491,
    "c": 0.17196,
    "h": 116.8
  },
  "luminance": 0.5795
}

Semantic roles & 50–950 ramp

primary
#BFD338
secondary
#3B307F
accent
#41E756
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BFD338

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

Preview Lab → · Contrast checker → · Palette generator →

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