#FBEF91#FBEF91

#FBEF91 is a very light, moderate yellow. Relative luminance 0.843; OKLCH L 94.2% C 0.116 H 102.0°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#FBEF91
RGBrgb(251, 239, 145)
HSLhsl(53, 93%, 78%)
HSVhsv(53, 42%, 98%)
CMYKcmyk(0%, 4.8%, 42.2%, 1.6%)
CIE-LABlab(93.58, -8.71, 46.81)
CIE-LCHlch(93.58, 47.62, 100.54°)
OKLaboklab(94.16% -0.0241 0.1134)
OKLCHoklch(94.16% 0.116 102)
XYZxyz(75.7626, 84.2888, 39.0610)
Luminance0.8429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF91 #919DFB
analogous
#FBBA91 #FBEF91 #D2FB91
triadic
#FBEF91 #91FBEF #EF91FB
tetradic
#FBEF91 #91FBBA #919DFB #FB91D2
square
#FBEF91 #91FBBA #919DFB #FB91D2
split-complementary
#FBEF91 #91D2FB #BA91FB
monochromatic
#F7DE1B #F9E656 #FBEF91 #FDF8CC #FEFBE1

Accessibility & contrast

On white

1.18
#FBEF91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#FBEF91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF91
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF91#FFFFFF#000000##000000
##FBEF911.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE98A
Deuteranopia (green-blind)
#FFEF95
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbef91;
/* rgb */ color: rgb(251, 239, 145);
/* oklch */ color: oklch(94.2% 0.116 102.0);
Tailwind
colors: {
  custom: {
    50: '#fef4b2',
    500: '#fbef91',
    950: '#000000',
  },
}
SCSS
$custom: #fbef91;
$custom-light: #fef4b2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef91",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 145
  },
  "hsl": {
    "h": 53.208,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.9416,
    "c": 0.11597,
    "h": 102
  },
  "luminance": 0.84287
}

Semantic roles & 50–950 ramp

primary
#FBEF91
secondary
#5564DB
accent
#1AE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBEF91

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

Preview Lab → · Contrast checker → · Palette generator →

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