#FEF89C#FEF89C

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

Color values

HEX#FEF89C
RGBrgb(254, 248, 156)
HSLhsl(56, 98%, 80%)
HSVhsv(56, 39%, 100%)
CMYKcmyk(0%, 2.4%, 38.6%, 0.4%)
CIE-LABlab(96.25, -10.87, 44.89)
CIE-LCHlch(96.25, 46.19, 103.62°)
OKLaboklab(96.39% -0.0296 0.1096)
OKLCHoklch(96.39% 0.114 105.1)
XYZxyz(80.4425, 90.6078, 44.6976)
Luminance0.9061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF89C #9CA2FE
analogous
#FEC79C #FEF89C #D3FE9C
triadic
#FEF89C #9CFEF8 #F89CFE
tetradic
#FEF89C #9CFEC7 #9CA2FE #FE9CD3
square
#FEF89C #9CFEC7 #9CA2FE #FE9CD3
split-complementary
#FEF89C #9CD3FE #C79CFE
monochromatic
#FDEF23 #FDF45F #FEF89C #FFFCD9 #FFFDE1

Accessibility & contrast

On white

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

On black

19.12
#FEF89C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF89C
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF89C#FFFFFF#000000##000000
##FEF89C1.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF295
Deuteranopia (green-blind)
#FFF6A0
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef89c;
/* rgb */ color: rgb(254, 248, 156);
/* oklch */ color: oklch(96.4% 0.114 105.1);
Tailwind
colors: {
  custom: {
    50: '#fffaba',
    500: '#fef89c',
    950: '#000000',
  },
}
SCSS
$custom: #fef89c;
$custom-light: #fffaba;
$custom-dark: #000000;
JSON
{
  "hex": "#fef89c",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 156
  },
  "hsl": {
    "h": 56.327,
    "s": 98,
    "l": 80.392
  },
  "oklch": {
    "l": 0.96386,
    "c": 0.11353,
    "h": 105.1
  },
  "luminance": 0.90606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF89C

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

Preview Lab → · Contrast checker → · Palette generator →

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