#FEF99E#FEF99E

#FEF99E is a very light, moderate yellow. Relative luminance 0.913; OKLCH L 96.6% C 0.112 H 105.6°. Best body text is #000000 at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#FEF99E
RGBrgb(254, 249, 158)
HSLhsl(57, 98%, 81%)
HSVhsv(57, 38%, 100%)
CMYKcmyk(0%, 2%, 37.8%, 0.4%)
CIE-LABlab(96.53, -11.15, 44.27)
CIE-LCHlch(96.53, 45.66, 104.14°)
OKLaboklab(96.62% -0.0302 0.1083)
OKLCHoklch(96.62% 0.112 105.6)
XYZxyz(80.9215, 91.2927, 45.6996)
Luminance0.9129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF99E #9EA3FE
analogous
#FEC99E #FEF99E #D3FE9E
triadic
#FEF99E #9EFEF9 #F99EFE
tetradic
#FEF99E #9EFEC9 #9EA3FE #FE9ED3
square
#FEF99E #9EFEC9 #9EA3FE #FE9ED3
split-complementary
#FEF99E #9ED3FE #C99EFE
monochromatic
#FDF225 #FDF561 #FEF99E #FFFDDB #FFFDE1

Accessibility & contrast

On white

1.09
#FEF99E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.26
#FEF99E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF99E
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF99E#FFFFFF#000000##000000
##FEF99E1.001.0919.2619.26
#FFFFFF1.091.0021.0021.00
#00000019.2621.001.001.00
##00000019.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF397
Deuteranopia (green-blind)
#FFF7A2
Tritanopia (blue-blind)
#FFEEE2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fef99e;
/* rgb */ color: rgb(254, 249, 158);
/* oklch */ color: oklch(96.6% 0.112 105.6);
Tailwind
colors: {
  custom: {
    50: '#fffbbc',
    500: '#fef99e',
    950: '#000000',
  },
}
SCSS
$custom: #fef99e;
$custom-light: #fffbbc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef99e",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 158
  },
  "hsl": {
    "h": 56.875,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.96619,
    "c": 0.11244,
    "h": 105.6
  },
  "luminance": 0.91291
}

Semantic roles & 50–950 ramp

primary
#FEF99E
secondary
#5F66E1
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEF99E

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

Preview Lab → · Contrast checker → · Palette generator →

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