#FBEF76#FBEF76

#FBEF76 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.143 H 103.6°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#FBEF76
RGBrgb(251, 239, 118)
HSLhsl(55, 94%, 72%)
HSVhsv(55, 53%, 98%)
CMYKcmyk(0%, 4.8%, 53%, 1.6%)
CIE-LABlab(93.26, -11.12, 59.15)
CIE-LCHlch(93.26, 60.18, 100.64°)
OKLaboklab(93.8% -0.0336 0.1386)
OKLCHoklch(93.8% 0.143 103.6)
XYZxyz(73.9224, 83.5527, 29.3694)
Luminance0.8355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF76 #7682FB
analogous
#FBAC76 #FBEF76 #C5FB76
triadic
#FBEF76 #76FBEF #EF76FB
tetradic
#FBEF76 #76FBAC #7682FB #FB76C5
square
#FBEF76 #76FBAC #7682FB #FB76C5
split-complementary
#FBEF76 #76C5FB #AC76FB
monochromatic
#F0DB07 #F9E83B #FBEF76 #FDF6B1 #FEFCE1

Accessibility & contrast

On white

1.19
#FBEF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#FBEF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF76
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF76#FFFFFF#000000##000000
##FBEF761.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86A
Deuteranopia (green-blind)
#FFEF7C
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbef76;
/* rgb */ color: rgb(251, 239, 118);
/* oklch */ color: oklch(93.8% 0.143 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff4a1',
    500: '#fbef76',
    950: '#000000',
  },
}
SCSS
$custom: #fbef76;
$custom-light: #fff4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef76",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 118
  },
  "hsl": {
    "h": 54.586,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93802,
    "c": 0.14263,
    "h": 103.6
  },
  "luminance": 0.8355
}

Semantic roles & 50–950 ramp

primary
#FBEF76
secondary
#3E4CD7
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBEF76

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

Preview Lab → · Contrast checker → · Palette generator →

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