#FBEF88#FBEF88

#FBEF88 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 94.0% C 0.125 H 102.6°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#FBEF88
RGBrgb(251, 239, 136)
HSLhsl(54, 93%, 76%)
HSVhsv(54, 46%, 98%)
CMYKcmyk(0%, 4.8%, 45.8%, 1.6%)
CIE-LABlab(93.46, -9.58, 51.01)
CIE-LCHlch(93.46, 51.90, 100.63°)
OKLaboklab(94.03% -0.0274 0.1223)
OKLCHoklch(94.03% 0.125 102.6)
XYZxyz(75.0959, 84.0221, 35.5499)
Luminance0.8402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF88 #8894FB
analogous
#FBB588 #FBEF88 #CDFB88
triadic
#FBEF88 #88FBEF #EF88FB
tetradic
#FBEF88 #88FBB5 #8894FB #FB88CD
square
#FBEF88 #88FBB5 #8894FB #FB88CD
split-complementary
#FBEF88 #88CDFB #B588FB
monochromatic
#F7DF12 #F9E74D #FBEF88 #FDF7C3 #FEFBE1

Accessibility & contrast

On white

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

On black

17.80
#FBEF88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF88
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF88#FFFFFF#000000##000000
##FBEF881.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97F
Deuteranopia (green-blind)
#FFEF8C
Tritanopia (blue-blind)
#FFE2D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbef88;
/* rgb */ color: rgb(251, 239, 136);
/* oklch */ color: oklch(94.0% 0.125 102.6);
Tailwind
colors: {
  custom: {
    50: '#fef4ac',
    500: '#fbef88',
    950: '#000000',
  },
}
SCSS
$custom: #fbef88;
$custom-light: #fef4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef88",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 136
  },
  "hsl": {
    "h": 53.739,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.9403,
    "c": 0.1253,
    "h": 102.6
  },
  "luminance": 0.8402
}

Semantic roles & 50–950 ramp

primary
#FBEF88
secondary
#4D5CDA
accent
#18E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBEF88

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

Preview Lab → · Contrast checker → · Palette generator →

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