#F8F697#F8F697

#F8F697 is a very light, moderate yellow. Relative luminance 0.881; OKLCH L 95.4% C 0.117 H 107.4°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#F8F697
RGBrgb(248, 246, 151)
HSLhsl(59, 87%, 78%)
HSVhsv(59, 39%, 97%)
CMYKcmyk(0%, 0.8%, 39.1%, 2.7%)
CIE-LABlab(95.20, -12.71, 45.90)
CIE-LCHlch(95.20, 47.63, 105.48°)
OKLaboklab(95.42% -0.035 0.1117)
OKLCHoklch(95.42% 0.117 107.4)
XYZxyz(77.2542, 88.1040, 42.2083)
Luminance0.8810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F697 #9799F8
analogous
#F8C597 #F8F697 #C9F897
triadic
#F8F697 #97F8F6 #F697F8
tetradic
#F8F697 #97F8C5 #9799F8 #F897C9
square
#F8F697 #97F8C5 #9799F8 #F897C9
split-complementary
#F8F697 #97C9F8 #C597F8
monochromatic
#F0EC24 #F4F15E #F8F697 #FCFBD0 #FDFDE2

Accessibility & contrast

On white

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

On black

18.62
#F8F697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F697
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F697#FFFFFF#000000##000000
##F8F6971.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF90
Deuteranopia (green-blind)
#FFF39B
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f697;
/* rgb */ color: rgb(248, 246, 151);
/* oklch */ color: oklch(95.4% 0.117 107.4);
Tailwind
colors: {
  custom: {
    50: '#fcf9b7',
    500: '#f8f697',
    950: '#000000',
  },
}
SCSS
$custom: #f8f697;
$custom-light: #fcf9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f697",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 151
  },
  "hsl": {
    "h": 58.763,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95421,
    "c": 0.11707,
    "h": 107.4
  },
  "luminance": 0.88102
}

Semantic roles & 50–950 ramp

primary
#F8F697
secondary
#5C5ED8
accent
#06E402
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F697

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

Preview Lab → · Contrast checker → · Palette generator →

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