#F8FE74#F8FE74

#F8FE74 is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.6% C 0.160 H 111.3°. Best body text is #000000 at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#F8FE74
RGBrgb(248, 254, 116)
HSLhsl(63, 99%, 73%)
HSVhsv(63, 54%, 100%)
CMYKcmyk(2.4%, 0%, 54.3%, 0.4%)
CIE-LABlab(96.86, -19.75, 64.12)
CIE-LCHlch(96.86, 67.10, 107.12°)
OKLaboklab(96.61% -0.0582 0.1492)
OKLCHoklch(96.61% 0.16 111.3)
XYZxyz(77.3074, 92.1027, 30.2248)
Luminance0.9210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FE74 #7A74FE
analogous
#FEBF74 #F8FE74 #B3FE74
triadic
#F8FE74 #74F8FE #FE74F8
tetradic
#F8FE74 #74FEBF #7A74FE #FE74B3
square
#F8FE74 #74FEBF #7A74FE #FE74B3
split-complementary
#F8FE74 #74B3FE #BF74FE
monochromatic
#EBF602 #F5FE37 #F8FE74 #FBFEB1 #FDFFE1

Accessibility & contrast

On white

1.08
#F8FE74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.42
#F8FE74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FE74
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FE74#FFFFFF#000000##000000
##F8FE741.001.0819.4219.42
#FFFFFF1.081.0021.0021.00
#00000019.4221.001.001.00
##00000019.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF466
Deuteranopia (green-blind)
#FFF87C
Tritanopia (blue-blind)
#FFF0E0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8fe74;
/* rgb */ color: rgb(248, 254, 116);
/* oklch */ color: oklch(96.6% 0.160 111.3);
Tailwind
colors: {
  custom: {
    50: '#fdfea0',
    500: '#f8fe74',
    950: '#000000',
  },
}
SCSS
$custom: #f8fe74;
$custom-light: #fdfea0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fe74",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 116
  },
  "hsl": {
    "h": 62.609,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.96611,
    "c": 0.16013,
    "h": 111.3
  },
  "luminance": 0.92101
}

Semantic roles & 50–950 ramp

primary
#F8FE74
secondary
#423BDB
accent
#00E60A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FE74

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

Preview Lab → · Contrast checker → · Palette generator →

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