#F7ED78#F7ED78

#F7ED78 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.1% C 0.139 H 104.3°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#F7ED78
RGBrgb(247, 237, 120)
HSLhsl(55, 89%, 72%)
HSVhsv(55, 51%, 97%)
CMYKcmyk(0%, 4%, 51.4%, 3.1%)
CIE-LABlab(92.44, -11.56, 57.20)
CIE-LCHlch(92.44, 58.36, 101.42°)
OKLaboklab(93.09% -0.0344 0.1347)
OKLCHoklch(93.09% 0.139 104.3)
XYZxyz(72.0342, 81.7009, 29.7410)
Luminance0.8170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ED78 #7882F7
analogous
#F7AE78 #F7ED78 #C1F778
triadic
#F7ED78 #78F7ED #ED78F7
tetradic
#F7ED78 #78F7AE #7882F7 #F778C1
square
#F7ED78 #78F7AE #7882F7 #F778C1
split-complementary
#F7ED78 #78C1F7 #AE78F7
monochromatic
#E7D60E #F4E53E #F7ED78 #FAF5B2 #FDFBE2

Accessibility & contrast

On white

1.21
#F7ED78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#F7ED78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ED78
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ED78#FFFFFF#000000##000000
##F7ED781.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66D
Deuteranopia (green-blind)
#FFEC7E
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ed78;
/* rgb */ color: rgb(247, 237, 120);
/* oklch */ color: oklch(93.1% 0.139 104.3);
Tailwind
colors: {
  custom: {
    50: '#fcf2a2',
    500: '#f7ed78',
    950: '#000000',
  },
}
SCSS
$custom: #f7ed78;
$custom-light: #fcf2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ed78",
  "rgb": {
    "r": 247,
    "g": 237,
    "b": 120
  },
  "hsl": {
    "h": 55.276,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93085,
    "c": 0.13898,
    "h": 104.3
  },
  "luminance": 0.81699
}

Semantic roles & 50–950 ramp

primary
#F7ED78
secondary
#414CD3
accent
#12E500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7ED78

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

Preview Lab → · Contrast checker → · Palette generator →

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