#F7DF76#F7DF76

#F7DF76 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 90.2% C 0.128 H 96.7°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#F7DF76
RGBrgb(247, 223, 118)
HSLhsl(49, 89%, 72%)
HSVhsv(49, 52%, 97%)
CMYKcmyk(0%, 9.7%, 52.2%, 3.1%)
CIE-LABlab(88.86, -4.74, 53.89)
CIE-LCHlch(88.86, 54.10, 95.02°)
OKLaboklab(90.23% -0.015 0.1273)
OKLCHoklch(90.23% 0.128 96.7)
XYZxyz(68.0178, 73.8603, 27.8097)
Luminance0.7386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF76 #768EF7
analogous
#F79F76 #F7DF76 #CFF776
triadic
#F7DF76 #76F7DF #DF76F7
tetradic
#F7DF76 #76F79F #768EF7 #F776CF
square
#F7DF76 #76F79F #768EF7 #F776CF
split-complementary
#F7DF76 #76CFF7 #9F76F7
monochromatic
#E5BD0D #F4D13C #F7DF76 #FAEDB0 #FDF8E2

Accessibility & contrast

On white

1.33
#F7DF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#F7DF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF76
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF76#FFFFFF#000000##000000
##F7DF761.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA6D
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df76;
/* rgb */ color: rgb(247, 223, 118);
/* oklch */ color: oklch(90.2% 0.128 96.7);
Tailwind
colors: {
  custom: {
    50: '#fce8a0',
    500: '#f7df76',
    950: '#000000',
  },
}
SCSS
$custom: #f7df76;
$custom-light: #fce8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df76",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 118
  },
  "hsl": {
    "h": 48.837,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90234,
    "c": 0.12813,
    "h": 96.7
  },
  "luminance": 0.73858
}

Semantic roles & 50–950 ramp

primary
#F7DF76
secondary
#3F5AD2
accent
#2BE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7DF76

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

Preview Lab → · Contrast checker → · Palette generator →

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