#F7D771#F7D771

#F7D771 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.6% C 0.127 H 92.3°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#F7D771
RGBrgb(247, 215, 113)
HSLhsl(46, 89%, 71%)
HSVhsv(46, 54%, 97%)
CMYKcmyk(0%, 13%, 54.3%, 3.1%)
CIE-LABlab(86.79, -1.08, 53.79)
CIE-LCHlch(86.79, 53.80, 91.15°)
OKLaboklab(88.58% -0.005 0.1266)
OKLCHoklch(88.58% 0.127 92.3)
XYZxyz(65.6414, 69.5704, 25.5904)
Luminance0.6957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D771 #7191F7
analogous
#F79471 #F7D771 #D4F771
triadic
#F7D771 #71F7D7 #D771F7
tetradic
#F7D771 #71F794 #7191F7 #F771D4
square
#F7D771 #71F794 #7191F7 #F771D4
split-complementary
#F7D771 #71D4F7 #9471F7
monochromatic
#E1AE0D #F4C737 #F7D771 #FAE7AB #FDF7E2

Accessibility & contrast

On white

1.41
#F7D771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#F7D771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D771
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D771#FFFFFF#000000##000000
##F7D7711.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD468
Deuteranopia (green-blind)
#F2DD75
Tritanopia (blue-blind)
#FFC9C0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f7d771;
/* rgb */ color: rgb(247, 215, 113);
/* oklch */ color: oklch(88.6% 0.127 92.3);
Tailwind
colors: {
  custom: {
    50: '#fce39c',
    500: '#f7d771',
    950: '#000000',
  },
}
SCSS
$custom: #f7d771;
$custom-light: #fce39c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d771",
  "rgb": {
    "r": 247,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 45.672,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88579,
    "c": 0.12666,
    "h": 92.3
  },
  "luminance": 0.69567
}

Semantic roles & 50–950 ramp

primary
#F7D771
secondary
#3A5FD2
accent
#37E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D771

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

Preview Lab → · Contrast checker → · Palette generator →

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