#FEEF97#FEEF97

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

Color values

HEX#FEEF97
RGBrgb(254, 239, 151)
HSLhsl(51, 98%, 79%)
HSVhsv(51, 41%, 100%)
CMYKcmyk(0%, 5.9%, 40.6%, 0.4%)
CIE-LABlab(93.90, -6.94, 44.34)
CIE-LCHlch(93.90, 44.88, 98.90°)
OKLaboklab(94.5% -0.0186 0.1081)
OKLCHoklch(94.5% 0.11 99.8)
XYZxyz(77.3271, 85.0405, 41.6133)
Luminance0.8504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEEF97 #97A6FE
analogous
#FEBC97 #FEEF97 #DAFE97
triadic
#FEEF97 #97FEEF #EF97FE
tetradic
#FEEF97 #97FEBC #97A6FE #FE97DA
square
#FEEF97 #97FEBC #97A6FE #FE97DA
split-complementary
#FEEF97 #97DAFE #BC97FE
monochromatic
#FDDC1E #FDE65A #FEEF97 #FFF8D4 #FFFAE1

Accessibility & contrast

On white

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

On black

18.01
#FEEF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEEF97
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEEF97#FFFFFF#000000##000000
##FEEF971.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA90
Deuteranopia (green-blind)
#FFF09A
Tritanopia (blue-blind)
#FFE3D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #feef97;
/* rgb */ color: rgb(254, 239, 151);
/* oklch */ color: oklch(94.5% 0.110 99.8);
Tailwind
colors: {
  custom: {
    50: '#fff4b7',
    500: '#feef97',
    950: '#000000',
  },
}
SCSS
$custom: #feef97;
$custom-light: #fff4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#feef97",
  "rgb": {
    "r": 254,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 51.262,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.94502,
    "c": 0.10972,
    "h": 99.8
  },
  "luminance": 0.85038
}

Semantic roles & 50–950 ramp

primary
#FEEF97
secondary
#596DE0
accent
#21E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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