#FEF89E#FEF89E

#FEF89E is a very light, moderate yellow. Relative luminance 0.907; OKLCH L 96.4% C 0.111 H 105.0°. Best body text is #000000 at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#FEF89E
RGBrgb(254, 248, 158)
HSLhsl(56, 98%, 81%)
HSVhsv(56, 38%, 100%)
CMYKcmyk(0%, 2.4%, 37.8%, 0.4%)
CIE-LABlab(96.28, -10.66, 43.95)
CIE-LCHlch(96.28, 45.22, 103.64°)
OKLaboklab(96.42% -0.0288 0.1076)
OKLCHoklch(96.42% 0.111 105)
XYZxyz(80.6132, 90.6761, 45.5968)
Luminance0.9067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF89E #9EA4FE
analogous
#FEC89E #FEF89E #D4FE9E
triadic
#FEF89E #9EFEF8 #F89EFE
tetradic
#FEF89E #9EFEC8 #9EA4FE #FE9ED4
square
#FEF89E #9EFEC8 #9EA4FE #FE9ED4
split-complementary
#FEF89E #9ED4FE #C89EFE
monochromatic
#FDEF25 #FDF461 #FEF89E #FFFCDB #FFFDE1

Accessibility & contrast

On white

1.10
#FEF89E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.13
#FEF89E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF89E
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF89E#FFFFFF#000000##000000
##FEF89E1.001.1019.1319.13
#FFFFFF1.101.0021.0021.00
#00000019.1321.001.001.00
##00000019.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF297
Deuteranopia (green-blind)
#FFF6A2
Tritanopia (blue-blind)
#FFEDE2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef89e;
/* rgb */ color: rgb(254, 248, 158);
/* oklch */ color: oklch(96.4% 0.111 105.0);
Tailwind
colors: {
  custom: {
    50: '#fffabc',
    500: '#fef89e',
    950: '#000000',
  },
}
SCSS
$custom: #fef89e;
$custom-light: #fffabc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef89e",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 158
  },
  "hsl": {
    "h": 56.25,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.96417,
    "c": 0.11135,
    "h": 105
  },
  "luminance": 0.90674
}

Semantic roles & 50–950 ramp

primary
#FEF89E
secondary
#5F67E1
accent
#0EE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEF89E

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

Preview Lab → · Contrast checker → · Palette generator →

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