#FBEF94#FBEF94

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

Color values

HEX#FBEF94
RGBrgb(251, 239, 148)
HSLhsl(53, 93%, 78%)
HSVhsv(53, 41%, 98%)
CMYKcmyk(0%, 4.8%, 41%, 1.6%)
CIE-LABlab(93.62, -8.41, 45.40)
CIE-LCHlch(93.62, 46.17, 100.49°)
OKLaboklab(94.21% -0.023 0.1104)
OKLCHoklch(94.21% 0.113 101.8)
XYZxyz(75.9970, 84.3825, 40.2954)
Luminance0.8438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF94 #94A0FB
analogous
#FBBB94 #FBEF94 #D3FB94
triadic
#FBEF94 #94FBEF #EF94FB
tetradic
#FBEF94 #94FBBB #94A0FB #FB94D3
square
#FBEF94 #94FBBB #94A0FB #FB94D3
split-complementary
#FBEF94 #94D3FB #BB94FB
monochromatic
#F7DD1E #F9E659 #FBEF94 #FDF8CF #FEFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBEF94#FFFFFF#000000##000000
##FBEF941.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)
#FEE98D
Deuteranopia (green-blind)
#FFEF98
Tritanopia (blue-blind)
#FFE3D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbef94;
/* rgb */ color: rgb(251, 239, 148);
/* oklch */ color: oklch(94.2% 0.113 101.8);
Tailwind
colors: {
  custom: {
    50: '#fef4b4',
    500: '#fbef94',
    950: '#000000',
  },
}
SCSS
$custom: #fbef94;
$custom-light: #fef4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef94",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 148
  },
  "hsl": {
    "h": 53.01,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.94205,
    "c": 0.11277,
    "h": 101.8
  },
  "luminance": 0.8438
}

Semantic roles & 50–950 ramp

primary
#FBEF94
secondary
#5867DB
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBEF94

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

Preview Lab → · Contrast checker → · Palette generator →

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