#FBEF9B#FBEF9B

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

Color values

HEX#FBEF9B
RGBrgb(251, 239, 155)
HSLhsl(53, 92%, 80%)
HSVhsv(53, 38%, 98%)
CMYKcmyk(0%, 4.8%, 38.2%, 1.6%)
CIE-LABlab(93.72, -7.67, 42.09)
CIE-LCHlch(93.72, 42.78, 100.33°)
OKLaboklab(94.32% -0.0203 0.1032)
OKLCHoklch(94.32% 0.105 101.1)
XYZxyz(76.5679, 84.6109, 43.3021)
Luminance0.8461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF9B #9BA7FB
analogous
#FBBF9B #FBEF9B #D7FB9B
triadic
#FBEF9B #9BFBEF #EF9BFB
tetradic
#FBEF9B #9BFBBF #9BA7FB #FB9BD7
square
#FBEF9B #9BFBBF #9BA7FB #FB9BD7
split-complementary
#FBEF9B #9BD7FB #BF9BFB
monochromatic
#F6DC25 #F9E660 #FBEF9B #FDF8D6 #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBEF9B#FFFFFF#000000##000000
##FBEF9B1.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)
#FEEA95
Deuteranopia (green-blind)
#FFEF9E
Tritanopia (blue-blind)
#FFE4DA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbef9b;
/* rgb */ color: rgb(251, 239, 155);
/* oklch */ color: oklch(94.3% 0.105 101.1);
Tailwind
colors: {
  custom: {
    50: '#fef4b9',
    500: '#fbef9b',
    950: '#000000',
  },
}
SCSS
$custom: #fbef9b;
$custom-light: #fef4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef9b",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 155
  },
  "hsl": {
    "h": 52.5,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.94315,
    "c": 0.10515,
    "h": 101.1
  },
  "luminance": 0.84609
}

Semantic roles & 50–950 ramp

primary
#FBEF9B
secondary
#5E6EDC
accent
#1DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBEF9B

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

Preview Lab → · Contrast checker → · Palette generator →

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