#FBEF8A#FBEF8A

#FBEF8A is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 94.1% C 0.123 H 102.5°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#FBEF8A
RGBrgb(251, 239, 138)
HSLhsl(54, 93%, 76%)
HSVhsv(54, 45%, 98%)
CMYKcmyk(0%, 4.8%, 45%, 1.6%)
CIE-LABlab(93.48, -9.39, 50.08)
CIE-LCHlch(93.48, 50.95, 100.62°)
OKLaboklab(94.06% -0.0267 0.1203)
OKLCHoklch(94.06% 0.123 102.5)
XYZxyz(75.2394, 84.0795, 36.3054)
Luminance0.8408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF8A #8A96FB
analogous
#FBB78A #FBEF8A #CFFB8A
triadic
#FBEF8A #8AFBEF #EF8AFB
tetradic
#FBEF8A #8AFBB7 #8A96FB #FB8ACF
square
#FBEF8A #8AFBB7 #8A96FB #FB8ACF
split-complementary
#FBEF8A #8ACFFB #B78AFB
monochromatic
#F7DF14 #F9E74F #FBEF8A #FDF7C5 #FEFBE1

Accessibility & contrast

On white

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

On black

17.82
#FBEF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF8A
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF8A#FFFFFF#000000##000000
##FBEF8A1.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbef8a;
/* rgb */ color: rgb(251, 239, 138);
/* oklch */ color: oklch(94.1% 0.123 102.5);
Tailwind
colors: {
  custom: {
    50: '#fef4ae',
    500: '#fbef8a',
    950: '#000000',
  },
}
SCSS
$custom: #fbef8a;
$custom-light: #fef4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef8a",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 53.628,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.94058,
    "c": 0.12326,
    "h": 102.5
  },
  "luminance": 0.84077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBEF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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