#FBEFBA#FBEFBA

#FBEFBA is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.9% C 0.069 H 96.8°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FBEFBA
RGBrgb(251, 239, 186)
HSLhsl(49, 89%, 86%)
HSVhsv(49, 26%, 98%)
CMYKcmyk(0%, 4.8%, 25.9%, 1.6%)
CIE-LABlab(94.22, -3.97, 27.16)
CIE-LCHlch(94.22, 27.44, 98.32°)
OKLaboklab(94.88% -0.0082 0.0688)
OKLCHoklch(94.88% 0.069 96.8)
XYZxyz(79.5134, 85.7891, 58.8152)
Luminance0.8579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEFBA #BAC6FB
analogous
#FBCEBA #FBEFBA #E6FBBA
triadic
#FBEFBA #BAFBEF #EFBAFB
tetradic
#FBEFBA #BAFBCE #BAC6FB #FBBAE6
square
#FBEFBA #BAFBCE #BAC6FB #FBBAE6
split-complementary
#FBEFBA #BAE6FB #CEBAFB
monochromatic
#F4D446 #F8E280 #FBEFBA #FDF8E2 #FDF8E2

Accessibility & contrast

On white

1.16
#FBEFBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#FBEFBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEFBA
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEFBA#FFFFFF#000000##000000
##FBEFBA1.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAECB7
Deuteranopia (green-blind)
#FDF0BC
Tritanopia (blue-blind)
#FFE7E1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbefba;
/* rgb */ color: rgb(251, 239, 186);
/* oklch */ color: oklch(94.9% 0.069 96.8);
Tailwind
colors: {
  custom: {
    50: '#fdf4cf',
    500: '#fbefba',
    950: '#000000',
  },
}
SCSS
$custom: #fbefba;
$custom-light: #fdf4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fbefba",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 186
  },
  "hsl": {
    "h": 48.923,
    "s": 89.041,
    "l": 85.686
  },
  "oklch": {
    "l": 0.94882,
    "c": 0.06927,
    "h": 96.8
  },
  "luminance": 0.85787
}

Semantic roles & 50–950 ramp

primary
#FBEFBA
secondary
#798CE0
accent
#2AE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181713
muted
#868583

Preview Lab

Preview with #FBEFBA

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

Preview Lab → · Contrast checker → · Palette generator →

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