#FEF889#FEF889

#FEF889 is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.1% C 0.133 H 105.9°. Best body text is #000000 at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#FEF889
RGBrgb(254, 248, 137)
HSLhsl(57, 98%, 77%)
HSVhsv(57, 46%, 100%)
CMYKcmyk(0%, 2.4%, 46.1%, 0.4%)
CIE-LABlab(96.00, -12.74, 53.70)
CIE-LCHlch(96.00, 55.19, 103.35°)
OKLaboklab(96.11% -0.0365 0.1283)
OKLCHoklch(96.11% 0.133 105.9)
XYZxyz(78.9576, 90.0139, 36.8772)
Luminance0.9001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF889 #898FFE
analogous
#FEBE89 #FEF889 #CAFE89
triadic
#FEF889 #89FEF8 #F889FE
tetradic
#FEF889 #89FEBE #898FFE #FE89CA
square
#FEF889 #89FEBE #898FFE #FE89CA
split-complementary
#FEF889 #89CAFE #BE89FE
monochromatic
#FDF110 #FDF44C #FEF889 #FFFCC6 #FFFDE1

Accessibility & contrast

On white

1.11
#FEF889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.00
#FEF889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF889
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF889#FFFFFF#000000##000000
##FEF8891.001.1119.0019.00
#FFFFFF1.111.0021.0021.00
#00000019.0021.001.001.00
##00000019.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF180
Deuteranopia (green-blind)
#FFF68E
Tritanopia (blue-blind)
#FFEBDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef889;
/* rgb */ color: rgb(254, 248, 137);
/* oklch */ color: oklch(96.1% 0.133 105.9);
Tailwind
colors: {
  custom: {
    50: '#fffaad',
    500: '#fef889',
    950: '#000000',
  },
}
SCSS
$custom: #fef889;
$custom-light: #fffaad;
$custom-dark: #000000;
JSON
{
  "hex": "#fef889",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 137
  },
  "hsl": {
    "h": 56.923,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.96111,
    "c": 0.13337,
    "h": 105.9
  },
  "luminance": 0.90012
}

Semantic roles & 50–950 ramp

primary
#FEF889
secondary
#4D55DE
accent
#0CE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF889

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

Preview Lab → · Contrast checker → · Palette generator →

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