#F7EC78#F7EC78

#F7EC78 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.9% C 0.138 H 103.8°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#F7EC78
RGBrgb(247, 236, 120)
HSLhsl(55, 89%, 72%)
HSVhsv(55, 51%, 97%)
CMYKcmyk(0%, 4.5%, 51.4%, 3.1%)
CIE-LABlab(92.19, -11.07, 56.90)
CIE-LCHlch(92.19, 57.97, 101.00°)
OKLaboklab(92.88% -0.033 0.134)
OKLCHoklch(92.88% 0.138 103.8)
XYZxyz(71.7455, 81.1234, 29.6448)
Luminance0.8112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC78 #7883F7
analogous
#F7AD78 #F7EC78 #C3F778
triadic
#F7EC78 #78F7EC #EC78F7
tetradic
#F7EC78 #78F7AD #7883F7 #F778C3
square
#F7EC78 #78F7AD #7883F7 #F778C3
split-complementary
#F7EC78 #78C3F7 #AD78F7
monochromatic
#E7D40E #F4E43E #F7EC78 #FAF4B2 #FDFBE2

Accessibility & contrast

On white

1.22
#F7EC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#F7EC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC78
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC78#FFFFFF#000000##000000
##F7EC781.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56D
Deuteranopia (green-blind)
#FFEB7E
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ec78;
/* rgb */ color: rgb(247, 236, 120);
/* oklch */ color: oklch(92.9% 0.138 103.8);
Tailwind
colors: {
  custom: {
    50: '#fcf1a2',
    500: '#f7ec78',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec78;
$custom-light: #fcf1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec78",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 120
  },
  "hsl": {
    "h": 54.803,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92881,
    "c": 0.138,
    "h": 103.8
  },
  "luminance": 0.81121
}

Semantic roles & 50–950 ramp

primary
#F7EC78
secondary
#414DD3
accent
#14E500
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7EC78

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

Preview Lab → · Contrast checker → · Palette generator →

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