#F7DC71#F7DC71

#F7DC71 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.6% C 0.130 H 95.4°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#F7DC71
RGBrgb(247, 220, 113)
HSLhsl(48, 89%, 71%)
HSVhsv(48, 54%, 97%)
CMYKcmyk(0%, 10.9%, 54.3%, 3.1%)
CIE-LABlab(88.04, -3.62, 55.27)
CIE-LCHlch(88.04, 55.39, 93.75°)
OKLaboklab(89.57% -0.0123 0.1298)
OKLCHoklch(89.57% 0.13 95.4)
XYZxyz(66.9341, 72.1558, 26.0213)
Luminance0.7215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC71 #718CF7
analogous
#F79971 #F7DC71 #CFF771
triadic
#F7DC71 #71F7DC #DC71F7
tetradic
#F7DC71 #71F799 #718CF7 #F771CF
square
#F7DC71 #71F799 #718CF7 #F771CF
split-complementary
#F7DC71 #71CFF7 #9971F7
monochromatic
#E1B60D #F4CE37 #F7DC71 #FAEAAB #FDF8E2

Accessibility & contrast

On white

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

On black

15.43
#F7DC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC71
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC71#FFFFFF#000000##000000
##F7DC711.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7dc71;
/* rgb */ color: rgb(247, 220, 113);
/* oklch */ color: oklch(89.6% 0.130 95.4);
Tailwind
colors: {
  custom: {
    50: '#fce69c',
    500: '#f7dc71',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc71;
$custom-light: #fce69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc71",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 47.91,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89573,
    "c": 0.13037,
    "h": 95.4
  },
  "luminance": 0.72153
}

Semantic roles & 50–950 ramp

primary
#F7DC71
secondary
#3A59D2
accent
#2EE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7DC71

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

Preview Lab → · Contrast checker → · Palette generator →

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