#FEF96E#FEF96E

#FEF96E is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.0% C 0.159 H 107.1°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FEF96E
RGBrgb(254, 249, 110)
HSLhsl(58, 99%, 71%)
HSVhsv(58, 57%, 100%)
CMYKcmyk(0%, 2%, 56.7%, 0.4%)
CIE-LABlab(95.98, -15.41, 65.84)
CIE-LCHlch(95.98, 67.62, 103.17°)
OKLaboklab(96% -0.0469 0.1521)
OKLCHoklch(96% 0.159 107.1)
XYZxyz(77.5656, 89.9503, 28.0251)
Luminance0.8995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF96E #6E73FE
analogous
#FEB16E #FEF96E #BBFE6E
triadic
#FEF96E #6EFEF9 #F96EFE
tetradic
#FEF96E #6EFEB1 #6E73FE #FE6EBB
square
#FEF96E #6EFEB1 #6E73FE #FE6EBB
split-complementary
#FEF96E #6EBBFE #B16EFE
monochromatic
#F0E802 #FEF631 #FEF96E #FEFCAB #FFFEE1

Accessibility & contrast

On white

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

On black

18.99
#FEF96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF96E
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF96E#FFFFFF#000000##000000
##FEF96E1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05F
Deuteranopia (green-blind)
#FFF676
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef96e;
/* rgb */ color: rgb(254, 249, 110);
/* oklch */ color: oklch(96.0% 0.159 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffb9c',
    500: '#fef96e',
    950: '#000000',
  },
}
SCSS
$custom: #fef96e;
$custom-light: #fffb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fef96e",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 110
  },
  "hsl": {
    "h": 57.917,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95999,
    "c": 0.15912,
    "h": 107.1
  },
  "luminance": 0.89948
}

Semantic roles & 50–950 ramp

primary
#FEF96E
secondary
#363CDA
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF96E

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

Preview Lab → · Contrast checker → · Palette generator →

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