#FEF993#FEF993

#FEF993 is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.5% C 0.124 H 106.0°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#FEF993
RGBrgb(254, 249, 147)
HSLhsl(57, 98%, 79%)
HSVhsv(57, 42%, 100%)
CMYKcmyk(0%, 2%, 42.1%, 0.4%)
CIE-LABlab(96.38, -12.28, 49.41)
CIE-LCHlch(96.38, 50.92, 103.96°)
OKLaboklab(96.45% -0.0343 0.1194)
OKLCHoklch(96.45% 0.124 106)
XYZxyz(80.0167, 90.9307, 40.9344)
Luminance0.9093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF993 #9398FE
analogous
#FEC393 #FEF993 #CDFE93
triadic
#FEF993 #93FEF9 #F993FE
tetradic
#FEF993 #93FEC3 #9398FE #FE93CD
square
#FEF993 #93FEC3 #9398FE #FE93CD
split-complementary
#FEF993 #93CDFE #C393FE
monochromatic
#FDF21A #FDF656 #FEF993 #FFFCD0 #FFFDE1

Accessibility & contrast

On white

1.09
#FEF993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.19
#FEF993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF993
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF993#FFFFFF#000000##000000
##FEF9931.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28B
Deuteranopia (green-blind)
#FFF797
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fef993;
/* rgb */ color: rgb(254, 249, 147);
/* oklch */ color: oklch(96.5% 0.124 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffbb4',
    500: '#fef993',
    950: '#000000',
  },
}
SCSS
$custom: #fef993;
$custom-light: #fffbb4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef993",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 147
  },
  "hsl": {
    "h": 57.196,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.96452,
    "c": 0.12422,
    "h": 106
  },
  "luminance": 0.90929
}

Semantic roles & 50–950 ramp

primary
#FEF993
secondary
#565CE0
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF993

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

Preview Lab → · Contrast checker → · Palette generator →

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