#FEF696#FEF696

#FEF696 is a very light, moderate yellow. Relative luminance 0.892; OKLCH L 95.9% C 0.118 H 104.2°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#FEF696
RGBrgb(254, 246, 150)
HSLhsl(55, 98%, 79%)
HSVhsv(55, 41%, 100%)
CMYKcmyk(0%, 3.1%, 40.9%, 0.4%)
CIE-LABlab(95.66, -10.51, 47.06)
CIE-LCHlch(95.66, 48.22, 102.59°)
OKLaboklab(95.89% -0.029 0.1142)
OKLCHoklch(95.89% 0.118 104.2)
XYZxyz(79.3353, 89.1864, 41.8838)
Luminance0.8918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF696 #969EFE
analogous
#FEC296 #FEF696 #D2FE96
triadic
#FEF696 #96FEF6 #F696FE
tetradic
#FEF696 #96FEC2 #969EFE #FE96D2
square
#FEF696 #96FEC2 #969EFE #FE96D2
split-complementary
#FEF696 #96D2FE #C296FE
monochromatic
#FDEC1D #FDF159 #FEF696 #FFFBD3 #FFFCE1

Accessibility & contrast

On white

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

On black

18.84
#FEF696 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF696
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF696#FFFFFF#000000##000000
##FEF6961.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08F
Deuteranopia (green-blind)
#FFF59A
Tritanopia (blue-blind)
#FFEADF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef696;
/* rgb */ color: rgb(254, 246, 150);
/* oklch */ color: oklch(95.9% 0.118 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff9b6',
    500: '#fef696',
    950: '#000000',
  },
}
SCSS
$custom: #fef696;
$custom-light: #fff9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef696",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 150
  },
  "hsl": {
    "h": 55.385,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95891,
    "c": 0.11786,
    "h": 104.2
  },
  "luminance": 0.89184
}

Semantic roles & 50–950 ramp

primary
#FEF696
secondary
#5863E0
accent
#12E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF696

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

Preview Lab → · Contrast checker → · Palette generator →

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