#F7FE78#F7FE78

#F7FE78 is a very light, vivid yellow. Relative luminance 0.920; OKLCH L 96.6% C 0.157 H 111.7°. Best body text is #000000 at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#F7FE78
RGBrgb(247, 254, 120)
HSLhsl(63, 99%, 73%)
HSVhsv(63, 53%, 100%)
CMYKcmyk(2.8%, 0%, 52.8%, 0.4%)
CIE-LABlab(96.83, -19.83, 62.31)
CIE-LCHlch(96.83, 65.39, 107.65°)
OKLaboklab(96.58% -0.058 0.1457)
OKLCHoklch(96.58% 0.157 111.7)
XYZxyz(77.1915, 92.0154, 31.4601)
Luminance0.9201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FE78 #7F78FE
analogous
#FEC278 #F7FE78 #B4FE78
triadic
#F7FE78 #78F7FE #FE78F7
tetradic
#F7FE78 #78FEC2 #7F78FE #FE78B4
square
#F7FE78 #78FEC2 #7F78FE #FE78B4
split-complementary
#F7FE78 #78B4FE #C278FE
monochromatic
#EDFA02 #F3FE3B #F7FE78 #FBFEB5 #FDFFE1

Accessibility & contrast

On white

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

On black

19.40
#F7FE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FE78
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FE78#FFFFFF#000000##000000
##F7FE781.001.0819.4019.40
#FFFFFF1.081.0021.0021.00
#00000019.4021.001.001.00
##00000019.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF46B
Deuteranopia (green-blind)
#FFF87F
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f7fe78;
/* rgb */ color: rgb(247, 254, 120);
/* oklch */ color: oklch(96.6% 0.157 111.7);
Tailwind
colors: {
  custom: {
    50: '#fcfea3',
    500: '#f7fe78',
    950: '#000000',
  },
}
SCSS
$custom: #f7fe78;
$custom-light: #fcfea3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fe78",
  "rgb": {
    "r": 247,
    "g": 254,
    "b": 120
  },
  "hsl": {
    "h": 63.134,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.96577,
    "c": 0.15682,
    "h": 111.7
  },
  "luminance": 0.92014
}

Semantic roles & 50–950 ramp

primary
#F7FE78
secondary
#473FDC
accent
#00E60C
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7FE78

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

Preview Lab → · Contrast checker → · Palette generator →

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