#FBEF93#FBEF93

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

Color values

HEX#FBEF93
RGBrgb(251, 239, 147)
HSLhsl(53, 93%, 78%)
HSVhsv(53, 41%, 98%)
CMYKcmyk(0%, 4.8%, 41.4%, 1.6%)
CIE-LABlab(93.60, -8.51, 45.87)
CIE-LCHlch(93.60, 46.66, 100.51°)
OKLaboklab(94.19% -0.0233 0.1114)
OKLCHoklch(94.19% 0.114 101.8)
XYZxyz(75.9182, 84.3510, 39.8803)
Luminance0.8435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF93 #939FFB
analogous
#FBBB93 #FBEF93 #D3FB93
triadic
#FBEF93 #93FBEF #EF93FB
tetradic
#FBEF93 #93FBBB #939FFB #FB93D3
square
#FBEF93 #93FBBB #939FFB #FB93D3
split-complementary
#FBEF93 #93D3FB #BB93FB
monochromatic
#F7DE1D #F9E658 #FBEF93 #FDF8CE #FEFBE1

Accessibility & contrast

On white

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

On black

17.87
#FBEF93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF93
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF93#FFFFFF#000000##000000
##FBEF931.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE98C
Deuteranopia (green-blind)
#FFEF97
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbef93;
/* rgb */ color: rgb(251, 239, 147);
/* oklch */ color: oklch(94.2% 0.114 101.8);
Tailwind
colors: {
  custom: {
    50: '#fef4b4',
    500: '#fbef93',
    950: '#000000',
  },
}
SCSS
$custom: #fbef93;
$custom-light: #fef4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef93",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 147
  },
  "hsl": {
    "h": 53.077,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.9419,
    "c": 0.11384,
    "h": 101.8
  },
  "luminance": 0.84349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBEF93

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

Preview Lab → · Contrast checker → · Palette generator →

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