#F7EB78#F7EB78

#F7EB78 is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.7% C 0.137 H 103.3°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#F7EB78
RGBrgb(247, 235, 120)
HSLhsl(54, 89%, 72%)
HSVhsv(54, 51%, 97%)
CMYKcmyk(0%, 4.9%, 51.4%, 3.1%)
CIE-LABlab(91.93, -10.57, 56.60)
CIE-LCHlch(91.93, 57.58, 100.58°)
OKLaboklab(92.68% -0.0316 0.1333)
OKLCHoklch(92.68% 0.137 103.3)
XYZxyz(71.4584, 80.5492, 29.5491)
Luminance0.8055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EB78 #7884F7
analogous
#F7AC78 #F7EB78 #C3F778
triadic
#F7EB78 #78F7EB #EB78F7
tetradic
#F7EB78 #78F7AC #7884F7 #F778C3
square
#F7EB78 #78F7AC #7884F7 #F778C3
split-complementary
#F7EB78 #78C3F7 #AC78F7
monochromatic
#E7D20E #F4E23E #F7EB78 #FAF4B2 #FDFBE2

Accessibility & contrast

On white

1.23
#F7EB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#F7EB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EB78
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EB78#FFFFFF#000000##000000
##F7EB781.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46D
Deuteranopia (green-blind)
#FFEB7D
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7eb78;
/* rgb */ color: rgb(247, 235, 120);
/* oklch */ color: oklch(92.7% 0.137 103.3);
Tailwind
colors: {
  custom: {
    50: '#fcf1a2',
    500: '#f7eb78',
    950: '#000000',
  },
}
SCSS
$custom: #f7eb78;
$custom-light: #fcf1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7eb78",
  "rgb": {
    "r": 247,
    "g": 235,
    "b": 120
  },
  "hsl": {
    "h": 54.331,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92678,
    "c": 0.13704,
    "h": 103.3
  },
  "luminance": 0.80547
}

Semantic roles & 50–950 ramp

primary
#F7EB78
secondary
#414ED3
accent
#16E500
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7EB78

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

Preview Lab → · Contrast checker → · Palette generator →

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