#FBEF8D#FBEF8D

#FBEF8D is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.1% C 0.120 H 102.3°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#FBEF8D
RGBrgb(251, 239, 141)
HSLhsl(53, 93%, 77%)
HSVhsv(53, 44%, 98%)
CMYKcmyk(0%, 4.8%, 43.8%, 1.6%)
CIE-LABlab(93.52, -9.10, 48.69)
CIE-LCHlch(93.52, 49.53, 100.59°)
OKLaboklab(94.1% -0.0256 0.1174)
OKLCHoklch(94.1% 0.12 102.3)
XYZxyz(75.4596, 84.1676, 37.4651)
Luminance0.8417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF8D #8D99FB
analogous
#FBB88D #FBEF8D #D0FB8D
triadic
#FBEF8D #8DFBEF #EF8DFB
tetradic
#FBEF8D #8DFBB8 #8D99FB #FB8DD0
square
#FBEF8D #8DFBB8 #8D99FB #FB8DD0
split-complementary
#FBEF8D #8DD0FB #B88DFB
monochromatic
#F7DE17 #F9E752 #FBEF8D #FDF7C8 #FEFBE1

Accessibility & contrast

On white

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

On black

17.83
#FBEF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF8D
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF8D#FFFFFF#000000##000000
##FBEF8D1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE985
Deuteranopia (green-blind)
#FFEF91
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbef8d;
/* rgb */ color: rgb(251, 239, 141);
/* oklch */ color: oklch(94.1% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#fef4b0',
    500: '#fbef8d',
    950: '#000000',
  },
}
SCSS
$custom: #fbef8d;
$custom-light: #fef4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef8d",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 141
  },
  "hsl": {
    "h": 53.455,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94101,
    "c": 0.12016,
    "h": 102.3
  },
  "luminance": 0.84165
}

Semantic roles & 50–950 ramp

primary
#FBEF8D
secondary
#5261DB
accent
#19E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FBEF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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