#F7EF78#F7EF78

#F7EF78 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.5% C 0.141 H 105.3°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#F7EF78
RGBrgb(247, 239, 120)
HSLhsl(56, 89%, 72%)
HSVhsv(56, 51%, 97%)
CMYKcmyk(0%, 3.2%, 51.4%, 3.1%)
CIE-LABlab(92.96, -12.55, 57.81)
CIE-LCHlch(92.96, 59.15, 102.24°)
OKLaboklab(93.49% -0.0373 0.136)
OKLCHoklch(93.49% 0.141 105.3)
XYZxyz(72.6164, 82.8654, 29.9351)
Luminance0.8286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF78 #7880F7
analogous
#F7AF78 #F7EF78 #C0F778
triadic
#F7EF78 #78F7EF #EF78F7
tetradic
#F7EF78 #78F7AF #7880F7 #F778C0
square
#F7EF78 #78F7AF #7880F7 #F778C0
split-complementary
#F7EF78 #78C0F7 #AF78F7
monochromatic
#E7D90E #F4E83E #F7EF78 #FAF6B2 #FDFCE2

Accessibility & contrast

On white

1.20
#F7EF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#F7EF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF78
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF78#FFFFFF#000000##000000
##F7EF781.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FFED7E
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7ef78;
/* rgb */ color: rgb(247, 239, 120);
/* oklch */ color: oklch(93.5% 0.141 105.3);
Tailwind
colors: {
  custom: {
    50: '#fcf4a2',
    500: '#f7ef78',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef78;
$custom-light: #fcf4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef78",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 56.22,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93492,
    "c": 0.14097,
    "h": 105.3
  },
  "luminance": 0.82863
}

Semantic roles & 50–950 ramp

primary
#F7EF78
secondary
#414AD3
accent
#0FE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7EF78

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

Preview Lab → · Contrast checker → · Palette generator →

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