#FBEF9E#FBEF9E

#FBEF9E is a very light, moderate yellow. Relative luminance 0.847; OKLCH L 94.4% C 0.102 H 100.9°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#FBEF9E
RGBrgb(251, 239, 158)
HSLhsl(52, 92%, 80%)
HSVhsv(52, 37%, 98%)
CMYKcmyk(0%, 4.8%, 37.1%, 1.6%)
CIE-LABlab(93.76, -7.35, 40.66)
CIE-LCHlch(93.76, 41.32, 100.25°)
OKLaboklab(94.37% -0.0192 0.1)
OKLCHoklch(94.37% 0.102 100.9)
XYZxyz(76.8230, 84.7129, 44.6455)
Luminance0.8471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF9E #9EAAFB
analogous
#FBC09E #FBEF9E #D8FB9E
triadic
#FBEF9E #9EFBEF #EF9EFB
tetradic
#FBEF9E #9EFBC0 #9EAAFB #FB9ED8
square
#FBEF9E #9EFBC0 #9EAAFB #FB9ED8
split-complementary
#FBEF9E #9ED8FB #C09EFB
monochromatic
#F6DC28 #F9E563 #FBEF9E #FDF9D9 #FEFAE2

Accessibility & contrast

On white

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

On black

17.94
#FBEF9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF9E
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF9E#FFFFFF#000000##000000
##FBEF9E1.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEA98
Deuteranopia (green-blind)
#FFEFA1
Tritanopia (blue-blind)
#FFE4DB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbef9e;
/* rgb */ color: rgb(251, 239, 158);
/* oklch */ color: oklch(94.4% 0.102 100.9);
Tailwind
colors: {
  custom: {
    50: '#fef4bb',
    500: '#fbef9e',
    950: '#000000',
  },
}
SCSS
$custom: #fbef9e;
$custom-light: #fef4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef9e",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 158
  },
  "hsl": {
    "h": 52.258,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.94365,
    "c": 0.10183,
    "h": 100.9
  },
  "luminance": 0.84711
}

Semantic roles & 50–950 ramp

primary
#FBEF9E
secondary
#6070DD
accent
#1EE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBEF9E

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

Preview Lab → · Contrast checker → · Palette generator →

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