#FBEFB2#FBEFB2

#FBEFB2 is a very light, moderate yellow. Relative luminance 0.855; OKLCH L 94.7% C 0.079 H 98.3°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#FBEFB2
RGBrgb(251, 239, 178)
HSLhsl(50, 90%, 84%)
HSVhsv(50, 29%, 98%)
CMYKcmyk(0%, 4.8%, 29.1%, 1.6%)
CIE-LABlab(94.08, -5.00, 31.03)
CIE-LCHlch(94.08, 31.43, 99.15°)
OKLaboklab(94.72% -0.0114 0.078)
OKLCHoklch(94.72% 0.079 98.3)
XYZxyz(78.6866, 85.4584, 54.4609)
Luminance0.8546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEFB2 #B2BEFB
analogous
#FBCBB2 #FBEFB2 #E3FBB2
triadic
#FBEFB2 #B2FBEF #EFB2FB
tetradic
#FBEFB2 #B2FBCB #B2BEFB #FBB2E3
square
#FBEFB2 #B2FBCB #B2BEFB #FBB2E3
split-complementary
#FBEFB2 #B2E3FB #CBB2FB
monochromatic
#F5D73E #F8E378 #FBEFB2 #FDF9E2 #FDF9E2

Accessibility & contrast

On white

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

On black

18.09
#FBEFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEFB2
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEFB2#FFFFFF#000000##000000
##FBEFB21.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEBAE
Deuteranopia (green-blind)
#FFF0B4
Tritanopia (blue-blind)
#FFE6DF
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbefb2;
/* rgb */ color: rgb(251, 239, 178);
/* oklch */ color: oklch(94.7% 0.079 98.3);
Tailwind
colors: {
  custom: {
    50: '#fdf4c9',
    500: '#fbefb2',
    950: '#000000',
  },
}
SCSS
$custom: #fbefb2;
$custom-light: #fdf4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbefb2",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 178
  },
  "hsl": {
    "h": 50.137,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.94724,
    "c": 0.07881,
    "h": 98.3
  },
  "luminance": 0.85457
}

Semantic roles & 50–950 ramp

primary
#FBEFB2
secondary
#7284DF
accent
#26E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FBEFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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