#F7E778#F7E778

#F7E778 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.9% C 0.133 H 101.2°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#F7E778
RGBrgb(247, 231, 120)
HSLhsl(52, 89%, 72%)
HSVhsv(52, 51%, 97%)
CMYKcmyk(0%, 6.5%, 51.4%, 3.1%)
CIE-LABlab(90.91, -8.58, 55.39)
CIE-LCHlch(90.91, 56.06, 98.81°)
OKLaboklab(91.87% -0.0259 0.1307)
OKLCHoklch(91.87% 0.133 101.2)
XYZxyz(70.3260, 78.2845, 29.1716)
Luminance0.7828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E778 #7888F7
analogous
#F7A878 #F7E778 #C8F778
triadic
#F7E778 #78F7E7 #E778F7
tetradic
#F7E778 #78F7A8 #7888F7 #F778C8
square
#F7E778 #78F7A8 #7888F7 #F778C8
split-complementary
#F7E778 #78C8F7 #A878F7
monochromatic
#E7CC0E #F4DD3E #F7E778 #FAF1B2 #FDFAE2

Accessibility & contrast

On white

1.26
#F7E778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.66
#F7E778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E778
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E778#FFFFFF#000000##000000
##F7E7781.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E16E
Deuteranopia (green-blind)
#FDE87D
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e778;
/* rgb */ color: rgb(247, 231, 120);
/* oklch */ color: oklch(91.9% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#fceea1',
    500: '#f7e778',
    950: '#000000',
  },
}
SCSS
$custom: #f7e778;
$custom-light: #fceea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e778",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 52.441,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91868,
    "c": 0.13325,
    "h": 101.2
  },
  "luminance": 0.78282
}

Semantic roles & 50–950 ramp

primary
#F7E778
secondary
#4153D3
accent
#1DE500
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E778

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

Preview Lab → · Contrast checker → · Palette generator →

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