#FBEF96#FBEF96

#FBEF96 is a very light, moderate yellow. Relative luminance 0.844; OKLCH L 94.2% C 0.111 H 101.6°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#FBEF96
RGBrgb(251, 239, 150)
HSLhsl(53, 93%, 79%)
HSVhsv(53, 40%, 98%)
CMYKcmyk(0%, 4.8%, 40.2%, 1.6%)
CIE-LABlab(93.64, -8.20, 44.46)
CIE-LCHlch(93.64, 45.21, 100.45°)
OKLaboklab(94.24% -0.0222 0.1084)
OKLCHoklch(94.24% 0.111 101.6)
XYZxyz(76.1567, 84.4464, 41.1363)
Luminance0.8444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF96 #96A2FB
analogous
#FBBC96 #FBEF96 #D4FB96
triadic
#FBEF96 #96FBEF #EF96FB
tetradic
#FBEF96 #96FBBC #96A2FB #FB96D4
square
#FBEF96 #96FBBC #96A2FB #FB96D4
split-complementary
#FBEF96 #96D4FB #BC96FB
monochromatic
#F7DD20 #F9E65B #FBEF96 #FDF8D1 #FEFBE2

Accessibility & contrast

On white

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

On black

17.89
#FBEF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF96
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF96#FFFFFF#000000##000000
##FBEF961.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbef96;
/* rgb */ color: rgb(251, 239, 150);
/* oklch */ color: oklch(94.2% 0.111 101.6);
Tailwind
colors: {
  custom: {
    50: '#fef4b6',
    500: '#fbef96',
    950: '#000000',
  },
}
SCSS
$custom: #fbef96;
$custom-light: #fef4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef96",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 150
  },
  "hsl": {
    "h": 52.871,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94236,
    "c": 0.11061,
    "h": 101.6
  },
  "luminance": 0.84444
}

Semantic roles & 50–950 ramp

primary
#FBEF96
secondary
#5969DC
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBEF96

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

Preview Lab → · Contrast checker → · Palette generator →

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