#FEF697#FEF697

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

Color values

HEX#FEF697
RGBrgb(254, 246, 151)
HSLhsl(55, 98%, 79%)
HSVhsv(55, 41%, 100%)
CMYKcmyk(0%, 3.1%, 40.6%, 0.4%)
CIE-LABlab(95.67, -10.41, 46.59)
CIE-LCHlch(95.67, 47.74, 102.59°)
OKLaboklab(95.91% -0.0286 0.1132)
OKLCHoklch(95.91% 0.117 104.2)
XYZxyz(79.4162, 89.2188, 42.3097)
Luminance0.8922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF697 #979FFE
analogous
#FEC397 #FEF697 #D3FE97
triadic
#FEF697 #97FEF6 #F697FE
tetradic
#FEF697 #97FEC3 #979FFE #FE97D3
square
#FEF697 #97FEC3 #979FFE #FE97D3
split-complementary
#FEF697 #97D3FE #C397FE
monochromatic
#FDEC1E #FDF15A #FEF697 #FFFBD4 #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF697#FFFFFF#000000##000000
##FEF6971.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)
#FFF090
Deuteranopia (green-blind)
#FFF59B
Tritanopia (blue-blind)
#FFEADF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef697;
/* rgb */ color: rgb(254, 246, 151);
/* oklch */ color: oklch(95.9% 0.117 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff9b7',
    500: '#fef697',
    950: '#000000',
  },
}
SCSS
$custom: #fef697;
$custom-light: #fff9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef697",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 151
  },
  "hsl": {
    "h": 55.34,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.95906,
    "c": 0.11679,
    "h": 104.2
  },
  "luminance": 0.89217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF697

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

Preview Lab → · Contrast checker → · Palette generator →

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