#F7DD78#F7DD78

#F7DD78 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.9% C 0.125 H 95.3°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#F7DD78
RGBrgb(247, 221, 120)
HSLhsl(48, 89%, 72%)
HSVhsv(48, 51%, 97%)
CMYKcmyk(0%, 10.5%, 51.4%, 3.1%)
CIE-LABlab(88.37, -3.56, 52.37)
CIE-LCHlch(88.37, 52.49, 93.89°)
OKLaboklab(89.86% -0.0114 0.1241)
OKLCHoklch(89.86% 0.125 95.3)
XYZxyz(67.6067, 72.8460, 28.2652)
Luminance0.7284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DD78 #7892F7
analogous
#F79E78 #F7DD78 #D1F778
triadic
#F7DD78 #78F7DD #DD78F7
tetradic
#F7DD78 #78F79E #7892F7 #F778D1
square
#F7DD78 #78F79E #7892F7 #F778D1
split-complementary
#F7DD78 #78D1F7 #9E78F7
monochromatic
#E7BA0E #F4CE3E #F7DD78 #FAECB2 #FDF8E2

Accessibility & contrast

On white

1.35
#F7DD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#F7DD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DD78
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DD78#FFFFFF#000000##000000
##F7DD781.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96F
Deuteranopia (green-blind)
#F6E17C
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f7dd78;
/* rgb */ color: rgb(247, 221, 120);
/* oklch */ color: oklch(89.9% 0.125 95.3);
Tailwind
colors: {
  custom: {
    50: '#fce7a1',
    500: '#f7dd78',
    950: '#000000',
  },
}
SCSS
$custom: #f7dd78;
$custom-light: #fce7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dd78",
  "rgb": {
    "r": 247,
    "g": 221,
    "b": 120
  },
  "hsl": {
    "h": 47.717,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.8986,
    "c": 0.12462,
    "h": 95.3
  },
  "luminance": 0.72843
}

Semantic roles & 50–950 ramp

primary
#F7DD78
secondary
#415ED3
accent
#2FE500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7DD78

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

Preview Lab → · Contrast checker → · Palette generator →

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