#FEF89D#FEF89D

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

Color values

HEX#FEF89D
RGBrgb(254, 248, 157)
HSLhsl(56, 98%, 81%)
HSVhsv(56, 38%, 100%)
CMYKcmyk(0%, 2.4%, 38.2%, 0.4%)
CIE-LABlab(96.26, -10.77, 44.42)
CIE-LCHlch(96.26, 45.71, 103.63°)
OKLaboklab(96.4% -0.0292 0.1086)
OKLCHoklch(96.4% 0.112 105.1)
XYZxyz(80.5275, 90.6419, 45.1454)
Luminance0.9064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF89D #9DA3FE
analogous
#FEC79D #FEF89D #D3FE9D
triadic
#FEF89D #9DFEF8 #F89DFE
tetradic
#FEF89D #9DFEC7 #9DA3FE #FE9DD3
square
#FEF89D #9DFEC7 #9DA3FE #FE9DD3
split-complementary
#FEF89D #9DD3FE #C79DFE
monochromatic
#FDEF24 #FDF460 #FEF89D #FFFCDA #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF89D#FFFFFF#000000##000000
##FEF89D1.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)
#FFF296
Deuteranopia (green-blind)
#FFF6A1
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef89d;
/* rgb */ color: rgb(254, 248, 157);
/* oklch */ color: oklch(96.4% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#fffabb',
    500: '#fef89d',
    950: '#000000',
  },
}
SCSS
$custom: #fef89d;
$custom-light: #fffabb;
$custom-dark: #000000;
JSON
{
  "hex": "#fef89d",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 157
  },
  "hsl": {
    "h": 56.289,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.96401,
    "c": 0.11244,
    "h": 105.1
  },
  "luminance": 0.9064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF89D

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

Preview Lab → · Contrast checker → · Palette generator →

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