#FEEC98#FEEC98

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

Color values

HEX#FEEC98
RGBrgb(254, 236, 152)
HSLhsl(49, 98%, 80%)
HSVhsv(49, 40%, 100%)
CMYKcmyk(0%, 7.1%, 40.2%, 0.4%)
CIE-LABlab(93.16, -5.34, 42.90)
CIE-LCHlch(93.16, 43.23, 97.09°)
OKLaboklab(93.92% -0.0139 0.1049)
OKLCHoklch(93.92% 0.106 97.6)
XYZxyz(76.5376, 83.3312, 41.7525)
Luminance0.8333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEEC98 #98AAFE
analogous
#FEB998 #FEEC98 #DDFE98
triadic
#FEEC98 #98FEEC #EC98FE
tetradic
#FEEC98 #98FEB9 #98AAFE #FE98DD
square
#FEEC98 #98FEB9 #98AAFE #FE98DD
split-complementary
#FEEC98 #98DDFE #B998FE
monochromatic
#FDD61F #FDE15B #FEEC98 #FFF7D5 #FFF9E1

Accessibility & contrast

On white

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

On black

17.67
#FEEC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEEC98
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEEC98#FFFFFF#000000##000000
##FEEC981.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE892
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#FFE1D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #feec98;
/* rgb */ color: rgb(254, 236, 152);
/* oklch */ color: oklch(93.9% 0.106 97.6);
Tailwind
colors: {
  custom: {
    50: '#fff2b7',
    500: '#feec98',
    950: '#000000',
  },
}
SCSS
$custom: #feec98;
$custom-light: #fff2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#feec98",
  "rgb": {
    "r": 254,
    "g": 236,
    "b": 152
  },
  "hsl": {
    "h": 49.412,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.9392,
    "c": 0.10581,
    "h": 97.6
  },
  "luminance": 0.83329
}

Semantic roles & 50–950 ramp

primary
#FEEC98
secondary
#5A72E0
accent
#28E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FEEC98

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

Preview Lab → · Contrast checker → · Palette generator →

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