#FEF494#FEF494

#FEF494 is a very light, moderate yellow. Relative luminance 0.879; OKLCH L 95.5% C 0.118 H 103.2°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#FEF494
RGBrgb(254, 244, 148)
HSLhsl(54, 98%, 79%)
HSVhsv(54, 42%, 100%)
CMYKcmyk(0%, 3.9%, 41.7%, 0.4%)
CIE-LABlab(95.12, -9.73, 47.36)
CIE-LCHlch(95.12, 48.34, 101.61°)
OKLaboklab(95.46% -0.0269 0.1148)
OKLCHoklch(95.46% 0.118 103.2)
XYZxyz(78.5706, 87.9125, 40.8412)
Luminance0.8791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF494 #949EFE
analogous
#FEBF94 #FEF494 #D3FE94
triadic
#FEF494 #94FEF4 #F494FE
tetradic
#FEF494 #94FEBF #949EFE #FE94D3
square
#FEF494 #94FEBF #949EFE #FE94D3
split-complementary
#FEF494 #94D3FE #BF94FE
monochromatic
#FDE81B #FDEE57 #FEF494 #FFFAD1 #FFFCE1

Accessibility & contrast

On white

1.13
#FEF494 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#FEF494 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF494
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF494#FFFFFF#000000##000000
##FEF4941.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8C
Deuteranopia (green-blind)
#FFF398
Tritanopia (blue-blind)
#FFE8DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef494;
/* rgb */ color: rgb(254, 244, 148);
/* oklch */ color: oklch(95.5% 0.118 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff7b5',
    500: '#fef494',
    950: '#000000',
  },
}
SCSS
$custom: #fef494;
$custom-light: #fff7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fef494",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 148
  },
  "hsl": {
    "h": 54.34,
    "s": 98.148,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95458,
    "c": 0.11791,
    "h": 103.2
  },
  "luminance": 0.8791
}

Semantic roles & 50–950 ramp

primary
#FEF494
secondary
#5663E0
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF494

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

Preview Lab → · Contrast checker → · Palette generator →

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