#FBEFA5#FBEFA5

#FBEFA5 is a very light, moderate yellow. Relative luminance 0.850; OKLCH L 94.5% C 0.094 H 100.1°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#FBEFA5
RGBrgb(251, 239, 165)
HSLhsl(52, 91%, 82%)
HSVhsv(52, 34%, 98%)
CMYKcmyk(0%, 4.8%, 34.3%, 1.6%)
CIE-LABlab(93.87, -6.56, 37.31)
CIE-LCHlch(93.87, 37.88, 99.97°)
OKLaboklab(94.48% -0.0165 0.0925)
OKLCHoklch(94.48% 0.094 100.1)
XYZxyz(77.4427, 84.9608, 47.9096)
Luminance0.8496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEFA5 #A5B1FB
analogous
#FBC4A5 #FBEFA5 #DCFBA5
triadic
#FBEFA5 #A5FBEF #EFA5FB
tetradic
#FBEFA5 #A5FBC4 #A5B1FB #FBA5DC
square
#FBEFA5 #A5FBC4 #A5B1FB #FBA5DC
split-complementary
#FBEFA5 #A5DCFB #C4A5FB
monochromatic
#F6DA30 #F8E56A #FBEFA5 #FEF9E0 #FEFAE2

Accessibility & contrast

On white

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

On black

17.99
#FBEFA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEFA5
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEFA5#FFFFFF#000000##000000
##FBEFA51.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEAA0
Deuteranopia (green-blind)
#FFF0A8
Tritanopia (blue-blind)
#FFE5DC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbefa5;
/* rgb */ color: rgb(251, 239, 165);
/* oklch */ color: oklch(94.5% 0.094 100.1);
Tailwind
colors: {
  custom: {
    50: '#fef4c0',
    500: '#fbefa5',
    950: '#000000',
  },
}
SCSS
$custom: #fbefa5;
$custom-light: #fef4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbefa5",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 165
  },
  "hsl": {
    "h": 51.628,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.94484,
    "c": 0.09393,
    "h": 100.1
  },
  "luminance": 0.84959
}

Semantic roles & 50–950 ramp

primary
#FBEFA5
secondary
#6777DE
accent
#20E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBEFA5

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

Preview Lab → · Contrast checker → · Palette generator →

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