#FBEF92#FBEF92

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

Color values

HEX#FBEF92
RGBrgb(251, 239, 146)
HSLhsl(53, 93%, 78%)
HSVhsv(53, 42%, 98%)
CMYKcmyk(0%, 4.8%, 41.8%, 1.6%)
CIE-LABlab(93.59, -8.61, 46.34)
CIE-LCHlch(93.59, 47.14, 100.53°)
OKLaboklab(94.18% -0.0237 0.1124)
OKLCHoklch(94.18% 0.115 101.9)
XYZxyz(75.8401, 84.3197, 39.4689)
Luminance0.8432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF92 #929EFB
analogous
#FBBA92 #FBEF92 #D2FB92
triadic
#FBEF92 #92FBEF #EF92FB
tetradic
#FBEF92 #92FBBA #929EFB #FB92D2
square
#FBEF92 #92FBBA #929EFB #FB92D2
split-complementary
#FBEF92 #92D2FB #BA92FB
monochromatic
#F7DE1C #F9E657 #FBEF92 #FDF8CD #FEFBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBEF92#FFFFFF#000000##000000
##FBEF921.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)
#FFE98B
Deuteranopia (green-blind)
#FFEF96
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbef92;
/* rgb */ color: rgb(251, 239, 146);
/* oklch */ color: oklch(94.2% 0.115 101.9);
Tailwind
colors: {
  custom: {
    50: '#fef4b3',
    500: '#fbef92',
    950: '#000000',
  },
}
SCSS
$custom: #fbef92;
$custom-light: #fef4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef92",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 146
  },
  "hsl": {
    "h": 53.143,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94175,
    "c": 0.1149,
    "h": 101.9
  },
  "luminance": 0.84318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBEF92

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

Preview Lab → · Contrast checker → · Palette generator →

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