#FBEF9D#FBEF9D

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

Color values

HEX#FBEF9D
RGBrgb(251, 239, 157)
HSLhsl(52, 92%, 80%)
HSVhsv(52, 37%, 98%)
CMYKcmyk(0%, 4.8%, 37.5%, 1.6%)
CIE-LABlab(93.74, -7.46, 41.13)
CIE-LCHlch(93.74, 41.80, 100.28°)
OKLaboklab(94.35% -0.0196 0.1011)
OKLCHoklch(94.35% 0.103 101)
XYZxyz(76.7372, 84.6786, 44.1941)
Luminance0.8468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF9D #9DA9FB
analogous
#FBC09D #FBEF9D #D8FB9D
triadic
#FBEF9D #9DFBEF #EF9DFB
tetradic
#FBEF9D #9DFBC0 #9DA9FB #FB9DD8
square
#FBEF9D #9DFBC0 #9DA9FB #FB9DD8
split-complementary
#FBEF9D #9DD8FB #C09DFB
monochromatic
#F6DC27 #F9E562 #FBEF9D #FDF9D8 #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBEF9D#FFFFFF#000000##000000
##FBEF9D1.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)
#FDEA97
Deuteranopia (green-blind)
#FFEFA0
Tritanopia (blue-blind)
#FFE4DA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbef9d;
/* rgb */ color: rgb(251, 239, 157);
/* oklch */ color: oklch(94.3% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#fef4bb',
    500: '#fbef9d',
    950: '#000000',
  },
}
SCSS
$custom: #fbef9d;
$custom-light: #fef4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef9d",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 157
  },
  "hsl": {
    "h": 52.34,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.94348,
    "c": 0.10295,
    "h": 101
  },
  "luminance": 0.84677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBEF9D

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

Preview Lab → · Contrast checker → · Palette generator →

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