#FEF894#FEF894

#FEF894 is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.3% C 0.122 H 105.5°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#FEF894
RGBrgb(254, 248, 148)
HSLhsl(57, 98%, 79%)
HSVhsv(57, 42%, 100%)
CMYKcmyk(0%, 2.4%, 41.7%, 0.4%)
CIE-LABlab(96.14, -11.70, 48.63)
CIE-LCHlch(96.14, 50.02, 103.52°)
OKLaboklab(96.27% -0.0326 0.1177)
OKLCHoklch(96.27% 0.122 105.5)
XYZxyz(79.7872, 90.3458, 41.2467)
Luminance0.9034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF894 #949AFE
analogous
#FEC394 #FEF894 #CFFE94
triadic
#FEF894 #94FEF8 #F894FE
tetradic
#FEF894 #94FEC3 #949AFE #FE94CF
square
#FEF894 #94FEC3 #949AFE #FE94CF
split-complementary
#FEF894 #94CFFE #C394FE
monochromatic
#FDF01B #FDF457 #FEF894 #FFFCD1 #FFFDE1

Accessibility & contrast

On white

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

On black

19.07
#FEF894 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF894
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF894#FFFFFF#000000##000000
##FEF8941.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18C
Deuteranopia (green-blind)
#FFF698
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef894;
/* rgb */ color: rgb(254, 248, 148);
/* oklch */ color: oklch(96.3% 0.122 105.5);
Tailwind
colors: {
  custom: {
    50: '#fffab5',
    500: '#fef894',
    950: '#000000',
  },
}
SCSS
$custom: #fef894;
$custom-light: #fffab5;
$custom-dark: #000000;
JSON
{
  "hex": "#fef894",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 148
  },
  "hsl": {
    "h": 56.604,
    "s": 98.148,
    "l": 78.824
  },
  "oklch": {
    "l": 0.96265,
    "c": 0.1221,
    "h": 105.5
  },
  "luminance": 0.90344
}

Semantic roles & 50–950 ramp

primary
#FEF894
secondary
#565EE0
accent
#0DE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF894

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

Preview Lab → · Contrast checker → · Palette generator →

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