#F7E771#F7E771

#F7E771 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.140 H 101.7°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#F7E771
RGBrgb(247, 231, 113)
HSLhsl(53, 89%, 71%)
HSVhsv(53, 54%, 97%)
CMYKcmyk(0%, 6.5%, 54.3%, 3.1%)
CIE-LABlab(90.83, -9.14, 58.52)
CIE-LCHlch(90.83, 59.23, 98.88°)
OKLaboklab(91.79% -0.0282 0.1368)
OKLCHoklch(91.79% 0.14 101.7)
XYZxyz(69.9166, 78.1208, 27.0155)
Luminance0.7812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E771 #7181F7
analogous
#F7A471 #F7E771 #C4F771
triadic
#F7E771 #71F7E7 #E771F7
tetradic
#F7E771 #71F7A4 #7181F7 #F771C4
square
#F7E771 #71F7A4 #7181F7 #F771C4
split-complementary
#F7E771 #71C4F7 #A471F7
monochromatic
#E1C80D #F4DD37 #F7E771 #FAF1AB #FDFAE2

Accessibility & contrast

On white

1.26
#F7E771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#F7E771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E771
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E771#FFFFFF#000000##000000
##F7E7711.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E166
Deuteranopia (green-blind)
#FEE877
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e771;
/* rgb */ color: rgb(247, 231, 113);
/* oklch */ color: oklch(91.8% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#fcee9d',
    500: '#f7e771',
    950: '#000000',
  },
}
SCSS
$custom: #f7e771;
$custom-light: #fcee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e771",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 52.836,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91785,
    "c": 0.13971,
    "h": 101.7
  },
  "luminance": 0.78118
}

Semantic roles & 50–950 ramp

primary
#F7E771
secondary
#3A4DD2
accent
#1BE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E771

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

Preview Lab → · Contrast checker → · Palette generator →

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