#FEEC97#FEEC97

#FEEC97 is a very light, moderate yellow. Relative luminance 0.833; OKLCH L 93.9% C 0.107 H 97.7°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#FEEC97
RGBrgb(254, 236, 151)
HSLhsl(50, 98%, 79%)
HSVhsv(50, 41%, 100%)
CMYKcmyk(0%, 7.1%, 40.6%, 0.4%)
CIE-LABlab(93.14, -5.44, 43.38)
CIE-LCHlch(93.14, 43.72, 97.15°)
OKLaboklab(93.9% -0.0143 0.1059)
OKLCHoklch(93.9% 0.107 97.7)
XYZxyz(76.4561, 83.2985, 41.3230)
Luminance0.8330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEEC97 #97A9FE
analogous
#FEB997 #FEEC97 #DCFE97
triadic
#FEEC97 #97FEEC #EC97FE
tetradic
#FEEC97 #97FEB9 #97A9FE #FE97DC
square
#FEEC97 #97FEB9 #97A9FE #FE97DC
split-complementary
#FEEC97 #97DCFE #B997FE
monochromatic
#FDD61E #FDE15A #FEEC97 #FFF7D4 #FFF9E1

Accessibility & contrast

On white

1.19
#FEEC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#FEEC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEEC97
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEEC97#FFFFFF#000000##000000
##FEEC971.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE891
Deuteranopia (green-blind)
#FFEE9A
Tritanopia (blue-blind)
#FFE0D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #feec97;
/* rgb */ color: rgb(254, 236, 151);
/* oklch */ color: oklch(93.9% 0.107 97.7);
Tailwind
colors: {
  custom: {
    50: '#fff2b6',
    500: '#feec97',
    950: '#000000',
  },
}
SCSS
$custom: #feec97;
$custom-light: #fff2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#feec97",
  "rgb": {
    "r": 254,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 49.515,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93904,
    "c": 0.10689,
    "h": 97.7
  },
  "luminance": 0.83296
}

Semantic roles & 50–950 ramp

primary
#FEEC97
secondary
#5971E0
accent
#28E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FEEC97

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

Preview Lab → · Contrast checker → · Palette generator →

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