#FBEF99#FBEF99

#FBEF99 is a very light, moderate yellow. Relative luminance 0.845; OKLCH L 94.3% C 0.107 H 101.3°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#FBEF99
RGBrgb(251, 239, 153)
HSLhsl(53, 92%, 79%)
HSVhsv(53, 39%, 98%)
CMYKcmyk(0%, 4.8%, 39%, 1.6%)
CIE-LABlab(93.69, -7.89, 43.04)
CIE-LCHlch(93.69, 43.75, 100.39°)
OKLaboklab(94.28% -0.0211 0.1053)
OKLCHoklch(94.28% 0.107 101.3)
XYZxyz(76.4013, 84.5443, 42.4249)
Luminance0.8454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF99 #99A5FB
analogous
#FBBE99 #FBEF99 #D6FB99
triadic
#FBEF99 #99FBEF #EF99FB
tetradic
#FBEF99 #99FBBE #99A5FB #FB99D6
square
#FBEF99 #99FBBE #99A5FB #FB99D6
split-complementary
#FBEF99 #99D6FB #BE99FB
monochromatic
#F6DD23 #F9E65E #FBEF99 #FDF8D4 #FEFAE2

Accessibility & contrast

On white

1.17
#FBEF99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#FBEF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF99
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF99#FFFFFF#000000##000000
##FBEF991.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA93
Deuteranopia (green-blind)
#FFEF9C
Tritanopia (blue-blind)
#FFE4DA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbef99;
/* rgb */ color: rgb(251, 239, 153);
/* oklch */ color: oklch(94.3% 0.107 101.3);
Tailwind
colors: {
  custom: {
    50: '#fef4b8',
    500: '#fbef99',
    950: '#000000',
  },
}
SCSS
$custom: #fbef99;
$custom-light: #fef4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef99",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 153
  },
  "hsl": {
    "h": 52.653,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.94283,
    "c": 0.10735,
    "h": 101.3
  },
  "luminance": 0.84542
}

Semantic roles & 50–950 ramp

primary
#FBEF99
secondary
#5C6CDC
accent
#1CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBEF99

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

Preview Lab → · Contrast checker → · Palette generator →

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