#FBEF97#FBEF97

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

Color values

HEX#FBEF97
RGBrgb(251, 239, 151)
HSLhsl(53, 93%, 79%)
HSVhsv(53, 40%, 98%)
CMYKcmyk(0%, 4.8%, 39.8%, 1.6%)
CIE-LABlab(93.66, -8.10, 43.98)
CIE-LCHlch(93.66, 44.72, 100.43°)
OKLaboklab(94.25% -0.0218 0.1073)
OKLCHoklch(94.25% 0.11 101.5)
XYZxyz(76.2375, 84.4787, 41.5622)
Luminance0.8448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF97 #97A3FB
analogous
#FBBD97 #FBEF97 #D5FB97
triadic
#FBEF97 #97FBEF #EF97FB
tetradic
#FBEF97 #97FBBD #97A3FB #FB97D5
square
#FBEF97 #97FBBD #97A3FB #FB97D5
split-complementary
#FBEF97 #97D5FB #BD97FB
monochromatic
#F6DD21 #F9E65C #FBEF97 #FDF8D2 #FEFAE2

Accessibility & contrast

On white

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

On black

17.90
#FBEF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF97
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF97#FFFFFF#000000##000000
##FBEF971.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA90
Deuteranopia (green-blind)
#FFEF9B
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbef97;
/* rgb */ color: rgb(251, 239, 151);
/* oklch */ color: oklch(94.3% 0.110 101.5);
Tailwind
colors: {
  custom: {
    50: '#fef4b7',
    500: '#fbef97',
    950: '#000000',
  },
}
SCSS
$custom: #fbef97;
$custom-light: #fef4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef97",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 52.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94252,
    "c": 0.10954,
    "h": 101.5
  },
  "luminance": 0.84477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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