#F7DC79#F7DC79

#F7DC79 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.7% C 0.123 H 94.5°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F7DC79
RGBrgb(247, 220, 121)
HSLhsl(47, 89%, 72%)
HSVhsv(47, 51%, 97%)
CMYKcmyk(0%, 10.9%, 51%, 3.1%)
CIE-LABlab(88.13, -2.97, 51.61)
CIE-LCHlch(88.13, 51.69, 93.29°)
OKLaboklab(89.67% -0.0096 0.1225)
OKLCHoklch(89.67% 0.123 94.5)
XYZxyz(67.4045, 72.3439, 28.4987)
Luminance0.7234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC79 #7994F7
analogous
#F79D79 #F7DC79 #D3F779
triadic
#F7DC79 #79F7DC #DC79F7
tetradic
#F7DC79 #79F79D #7994F7 #F779D3
square
#F7DC79 #79F79D #7994F7 #F779D3
split-complementary
#F7DC79 #79D3F7 #9D79F7
monochromatic
#E8B90E #F4CD3F #F7DC79 #FAEBB3 #FDF7E2

Accessibility & contrast

On white

1.36
#F7DC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#F7DC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC79
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC79#FFFFFF#000000##000000
##F7DC791.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED870
Deuteranopia (green-blind)
#F5E17D
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dc79;
/* rgb */ color: rgb(247, 220, 121);
/* oklch */ color: oklch(89.7% 0.123 94.5);
Tailwind
colors: {
  custom: {
    50: '#fce6a2',
    500: '#f7dc79',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc79;
$custom-light: #fce6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc79",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 47.143,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89674,
    "c": 0.12289,
    "h": 94.5
  },
  "luminance": 0.72341
}

Semantic roles & 50–950 ramp

primary
#F7DC79
secondary
#4161D3
accent
#31E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F7DC79

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

Preview Lab → · Contrast checker → · Palette generator →

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