#FEFB97#FEFB97

#FEFB97 is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.9% C 0.122 H 107.0°. Best body text is #000000 at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#FEFB97
RGBrgb(254, 251, 151)
HSLhsl(58, 98%, 79%)
HSVhsv(58, 41%, 100%)
CMYKcmyk(0%, 1.2%, 40.6%, 0.4%)
CIE-LABlab(96.94, -12.86, 48.20)
CIE-LCHlch(96.94, 49.88, 104.94°)
OKLaboklab(96.92% -0.0357 0.1169)
OKLCHoklch(96.92% 0.122 107)
XYZxyz(80.9575, 92.3014, 42.8234)
Luminance0.9230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB97 #979AFE
analogous
#FEC797 #FEFB97 #CEFE97
triadic
#FEFB97 #97FEFB #FB97FE
tetradic
#FEFB97 #97FEC7 #979AFE #FE97CE
square
#FEFB97 #97FEC7 #979AFE #FE97CE
split-complementary
#FEFB97 #97CEFE #C797FE
monochromatic
#FDF61E #FDF95A #FEFB97 #FFFDD4 #FFFEE1

Accessibility & contrast

On white

1.08
#FEFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.46
#FEFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB97
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB97#FFFFFF#000000##000000
##FEFB971.001.0819.4619.46
#FFFFFF1.081.0021.0021.00
#00000019.4621.001.001.00
##00000019.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF48F
Deuteranopia (green-blind)
#FFF89B
Tritanopia (blue-blind)
#FFEFE3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefb97;
/* rgb */ color: rgb(254, 251, 151);
/* oklch */ color: oklch(96.9% 0.122 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffcb7',
    500: '#fefb97',
    950: '#000000',
  },
}
SCSS
$custom: #fefb97;
$custom-light: #fffcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb97",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 58.252,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96916,
    "c": 0.12219,
    "h": 107
  },
  "luminance": 0.923
}

Semantic roles & 50–950 ramp

primary
#FEFB97
secondary
#595DE0
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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