#FBEF9A#FBEF9A

#FBEF9A is a very light, moderate yellow. Relative luminance 0.846; OKLCH L 94.3% C 0.106 H 101.2°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#FBEF9A
RGBrgb(251, 239, 154)
HSLhsl(53, 92%, 79%)
HSVhsv(53, 39%, 98%)
CMYKcmyk(0%, 4.8%, 38.6%, 1.6%)
CIE-LABlab(93.70, -7.78, 42.56)
CIE-LCHlch(93.70, 43.27, 100.36°)
OKLaboklab(94.3% -0.0207 0.1042)
OKLCHoklch(94.3% 0.106 101.2)
XYZxyz(76.4843, 84.5774, 42.8617)
Luminance0.8458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF9A #9AA6FB
analogous
#FBBF9A #FBEF9A #D7FB9A
triadic
#FBEF9A #9AFBEF #EF9AFB
tetradic
#FBEF9A #9AFBBF #9AA6FB #FB9AD7
square
#FBEF9A #9AFBBF #9AA6FB #FB9AD7
split-complementary
#FBEF9A #9AD7FB #BF9AFB
monochromatic
#F6DC24 #F9E65F #FBEF9A #FDF8D5 #FEFAE2

Accessibility & contrast

On white

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

On black

17.92
#FBEF9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF9A
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF9A#FFFFFF#000000##000000
##FBEF9A1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA94
Deuteranopia (green-blind)
#FFEF9D
Tritanopia (blue-blind)
#FFE4DA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbef9a;
/* rgb */ color: rgb(251, 239, 154);
/* oklch */ color: oklch(94.3% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#fef4b9',
    500: '#fbef9a',
    950: '#000000',
  },
}
SCSS
$custom: #fbef9a;
$custom-light: #fef4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef9a",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 154
  },
  "hsl": {
    "h": 52.577,
    "s": 92.381,
    "l": 79.412
  },
  "oklch": {
    "l": 0.94299,
    "c": 0.10626,
    "h": 101.2
  },
  "luminance": 0.84575
}

Semantic roles & 50–950 ramp

primary
#FBEF9A
secondary
#5D6DDC
accent
#1CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBEF9A

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

Preview Lab → · Contrast checker → · Palette generator →

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