#FEE98C#FEE98C

#FEE98C is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 93.1% C 0.116 H 97.0°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#FEE98C
RGBrgb(254, 233, 140)
HSLhsl(49, 98%, 77%)
HSVhsv(49, 45%, 100%)
CMYKcmyk(0%, 8.3%, 44.9%, 0.4%)
CIE-LABlab(92.24, -5.03, 47.62)
CIE-LCHlch(92.24, 47.89, 96.03°)
OKLaboklab(93.14% -0.0141 0.1149)
OKLCHoklch(93.14% 0.116 97)
XYZxyz(74.7476, 81.2448, 36.5503)
Luminance0.8124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEE98C #8CA1FE
analogous
#FEB08C #FEE98C #DAFE8C
triadic
#FEE98C #8CFEE9 #E98CFE
tetradic
#FEE98C #8CFEB0 #8CA1FE #FE8CDA
square
#FEE98C #8CFEB0 #8CA1FE #FE8CDA
split-complementary
#FEE98C #8CDAFE #B08CFE
monochromatic
#FDD213 #FDDD4F #FEE98C #FFF5C9 #FFF9E1

Accessibility & contrast

On white

1.22
#FEE98C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#FEE98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEE98C
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEE98C#FFFFFF#000000##000000
##FEE98C1.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE585
Deuteranopia (green-blind)
#FFEC90
Tritanopia (blue-blind)
#FFDDD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fee98c;
/* rgb */ color: rgb(254, 233, 140);
/* oklch */ color: oklch(93.1% 0.116 97.0);
Tailwind
colors: {
  custom: {
    50: '#ffefaf',
    500: '#fee98c',
    950: '#000000',
  },
}
SCSS
$custom: #fee98c;
$custom-light: #ffefaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fee98c",
  "rgb": {
    "r": 254,
    "g": 233,
    "b": 140
  },
  "hsl": {
    "h": 48.947,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.9314,
    "c": 0.1158,
    "h": 97
  },
  "luminance": 0.81242
}

Semantic roles & 50–950 ramp

primary
#FEE98C
secondary
#506ADF
accent
#2AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FEE98C

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

Preview Lab → · Contrast checker → · Palette generator →

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