#F7DE78#F7DE78

#F7DE78 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.1% C 0.125 H 95.9°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#F7DE78
RGBrgb(247, 222, 120)
HSLhsl(48, 89%, 72%)
HSVhsv(48, 51%, 97%)
CMYKcmyk(0%, 10.1%, 51.4%, 3.1%)
CIE-LABlab(88.63, -4.07, 52.67)
CIE-LCHlch(88.63, 52.83, 94.41°)
OKLaboklab(90.06% -0.0129 0.1248)
OKLCHoklch(90.06% 0.125 95.9)
XYZxyz(67.8715, 73.3756, 28.3535)
Luminance0.7337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DE78 #7891F7
analogous
#F79F78 #F7DE78 #D1F778
triadic
#F7DE78 #78F7DE #DE78F7
tetradic
#F7DE78 #78F79F #7891F7 #F778D1
square
#F7DE78 #78F79F #7891F7 #F778D1
split-complementary
#F7DE78 #78D1F7 #9F78F7
monochromatic
#E7BC0E #F4D03E #F7DE78 #FAECB2 #FDF8E2

Accessibility & contrast

On white

1.34
#F7DE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#F7DE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DE78
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DE78#FFFFFF#000000##000000
##F7DE781.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6F
Deuteranopia (green-blind)
#F7E27C
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f7de78;
/* rgb */ color: rgb(247, 222, 120);
/* oklch */ color: oklch(90.1% 0.125 95.9);
Tailwind
colors: {
  custom: {
    50: '#fce8a1',
    500: '#f7de78',
    950: '#000000',
  },
}
SCSS
$custom: #f7de78;
$custom-light: #fce8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7de78",
  "rgb": {
    "r": 247,
    "g": 222,
    "b": 120
  },
  "hsl": {
    "h": 48.189,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9006,
    "c": 0.12542,
    "h": 95.9
  },
  "luminance": 0.73373
}

Semantic roles & 50–950 ramp

primary
#F7DE78
secondary
#415DD3
accent
#2DE500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7DE78

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

Preview Lab → · Contrast checker → · Palette generator →

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