#FBEF86#FBEF86

#FBEF86 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 94.0% C 0.127 H 102.8°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#FBEF86
RGBrgb(251, 239, 134)
HSLhsl(54, 94%, 75%)
HSVhsv(54, 47%, 98%)
CMYKcmyk(0%, 4.8%, 46.6%, 1.6%)
CIE-LABlab(93.44, -9.76, 51.93)
CIE-LCHlch(93.44, 52.84, 100.64°)
OKLaboklab(94% -0.0281 0.1242)
OKLCHoklch(94% 0.127 102.8)
XYZxyz(74.9551, 83.9658, 34.8083)
Luminance0.8396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF86 #8692FB
analogous
#FBB486 #FBEF86 #CCFB86
triadic
#FBEF86 #86FBEF #EF86FB
tetradic
#FBEF86 #86FBB4 #8692FB #FB86CC
square
#FBEF86 #86FBB4 #8692FB #FB86CC
split-complementary
#FBEF86 #86CCFB #B486FB
monochromatic
#F7DF10 #F9E74B #FBEF86 #FDF7C1 #FEFBE1

Accessibility & contrast

On white

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

On black

17.79
#FBEF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF86
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF86#FFFFFF#000000##000000
##FBEF861.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97D
Deuteranopia (green-blind)
#FFEF8B
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbef86;
/* rgb */ color: rgb(251, 239, 134);
/* oklch */ color: oklch(94.0% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#fff4ab',
    500: '#fbef86',
    950: '#000000',
  },
}
SCSS
$custom: #fbef86;
$custom-light: #fff4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef86",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 134
  },
  "hsl": {
    "h": 53.846,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94003,
    "c": 0.12731,
    "h": 102.8
  },
  "luminance": 0.83963
}

Semantic roles & 50–950 ramp

primary
#FBEF86
secondary
#4C5ADA
accent
#18E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBEF86

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

Preview Lab → · Contrast checker → · Palette generator →

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