#F7DC76#F7DC76

#F7DC76 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.126 H 94.9°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#F7DC76
RGBrgb(247, 220, 118)
HSLhsl(47, 89%, 72%)
HSVhsv(47, 52%, 97%)
CMYKcmyk(0%, 10.9%, 52.2%, 3.1%)
CIE-LABlab(88.10, -3.22, 52.99)
CIE-LCHlch(88.10, 53.09, 93.48°)
OKLaboklab(89.64% -0.0106 0.1253)
OKLCHoklch(89.64% 0.126 94.9)
XYZxyz(67.2234, 72.2715, 27.5449)
Luminance0.7227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC76 #7691F7
analogous
#F79C76 #F7DC76 #D2F776
triadic
#F7DC76 #76F7DC #DC76F7
tetradic
#F7DC76 #76F79C #7691F7 #F776D2
square
#F7DC76 #76F79C #7691F7 #F776D2
split-complementary
#F7DC76 #76D2F7 #9C76F7
monochromatic
#E5B80D #F4CD3C #F7DC76 #FAEBB0 #FDF8E2

Accessibility & contrast

On white

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

On black

15.45
#F7DC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC76
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC76#FFFFFF#000000##000000
##F7DC761.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86D
Deuteranopia (green-blind)
#F5E17A
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dc76;
/* rgb */ color: rgb(247, 220, 118);
/* oklch */ color: oklch(89.6% 0.126 94.9);
Tailwind
colors: {
  custom: {
    50: '#fce6a0',
    500: '#f7dc76',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc76;
$custom-light: #fce6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc76",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 118
  },
  "hsl": {
    "h": 47.442,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89635,
    "c": 0.12573,
    "h": 94.9
  },
  "luminance": 0.72269
}

Semantic roles & 50–950 ramp

primary
#F7DC76
secondary
#3F5ED2
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F7DC76

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

Preview Lab → · Contrast checker → · Palette generator →

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