#F7F471#F7F471

#F7F471 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.4% C 0.152 H 107.8°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#F7F471
RGBrgb(247, 244, 113)
HSLhsl(59, 89%, 71%)
HSVhsv(59, 54%, 97%)
CMYKcmyk(0%, 1.2%, 54.3%, 3.1%)
CIE-LABlab(94.17, -15.54, 62.35)
CIE-LCHlch(94.17, 64.26, 103.99°)
OKLaboklab(94.44% -0.0465 0.1451)
OKLCHoklch(94.44% 0.152 107.8)
XYZxyz(73.6911, 85.6698, 28.2737)
Luminance0.8567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F471 #7174F7
analogous
#F7B171 #F7F471 #B7F771
triadic
#F7F471 #71F7F4 #F471F7
tetradic
#F7F471 #71F7B1 #7174F7 #F771B7
square
#F7F471 #71F7B1 #7174F7 #F771B7
split-complementary
#F7F471 #71B7F7 #B171F7
monochromatic
#E1DC0D #F4F037 #F7F471 #FAF8AB #FDFDE2

Accessibility & contrast

On white

1.16
#F7F471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.13
#F7F471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F471
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F471#FFFFFF#000000##000000
##F7F4711.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB64
Deuteranopia (green-blind)
#FFF178
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f7f471;
/* rgb */ color: rgb(247, 244, 113);
/* oklch */ color: oklch(94.4% 0.152 107.8);
Tailwind
colors: {
  custom: {
    50: '#fcf79e',
    500: '#f7f471',
    950: '#000000',
  },
}
SCSS
$custom: #f7f471;
$custom-light: #fcf79e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f471",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 113
  },
  "hsl": {
    "h": 58.657,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94437,
    "c": 0.15235,
    "h": 107.8
  },
  "luminance": 0.85668
}

Semantic roles & 50–950 ramp

primary
#F7F471
secondary
#3A3ED2
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F471

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

Preview Lab → · Contrast checker → · Palette generator →

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