#FBEF95#FBEF95

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

Color values

HEX#FBEF95
RGBrgb(251, 239, 149)
HSLhsl(53, 93%, 78%)
HSVhsv(53, 41%, 98%)
CMYKcmyk(0%, 4.8%, 40.6%, 1.6%)
CIE-LABlab(93.63, -8.31, 44.93)
CIE-LCHlch(93.63, 45.69, 100.47°)
OKLaboklab(94.22% -0.0226 0.1094)
OKLCHoklch(94.22% 0.112 101.7)
XYZxyz(76.0765, 84.4143, 40.7141)
Luminance0.8441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF95 #95A1FB
analogous
#FBBC95 #FBEF95 #D4FB95
triadic
#FBEF95 #95FBEF #EF95FB
tetradic
#FBEF95 #95FBBC #95A1FB #FB95D4
square
#FBEF95 #95FBBC #95A1FB #FB95D4
split-complementary
#FBEF95 #95D4FB #BC95FB
monochromatic
#F7DD1F #F9E65A #FBEF95 #FDF8D0 #FEFBE2

Accessibility & contrast

On white

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

On black

17.88
#FBEF95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF95
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF95#FFFFFF#000000##000000
##FBEF951.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbef95;
/* rgb */ color: rgb(251, 239, 149);
/* oklch */ color: oklch(94.2% 0.112 101.7);
Tailwind
colors: {
  custom: {
    50: '#fef4b5',
    500: '#fbef95',
    950: '#000000',
  },
}
SCSS
$custom: #fbef95;
$custom-light: #fef4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef95",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 149
  },
  "hsl": {
    "h": 52.941,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.9422,
    "c": 0.1117,
    "h": 101.7
  },
  "luminance": 0.84412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBEF95

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

Preview Lab → · Contrast checker → · Palette generator →

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