#F7F472#F7F472

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

Color values

HEX#F7F472
RGBrgb(247, 244, 114)
HSLhsl(59, 89%, 71%)
HSVhsv(59, 54%, 97%)
CMYKcmyk(0%, 1.2%, 53.8%, 3.1%)
CIE-LABlab(94.18, -15.46, 61.92)
CIE-LCHlch(94.18, 63.83, 104.02°)
OKLaboklab(94.45% -0.0462 0.1443)
OKLCHoklch(94.45% 0.151 107.8)
XYZxyz(73.7478, 85.6925, 28.5718)
Luminance0.8569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F472 #7275F7
analogous
#F7B272 #F7F472 #B7F772
triadic
#F7F472 #72F7F4 #F472F7
tetradic
#F7F472 #72F7B2 #7275F7 #F772B7
square
#F7F472 #72F7B2 #7275F7 #F772B7
split-complementary
#F7F472 #72B7F7 #B272F7
monochromatic
#E2DD0D #F4EF38 #F7F472 #FAF9AC #FDFDE2

Accessibility & contrast

On white

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

On black

18.14
#F7F472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F472
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F472#FFFFFF#000000##000000
##F7F4721.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f472;
/* rgb */ color: rgb(247, 244, 114);
/* oklch */ color: oklch(94.4% 0.151 107.8);
Tailwind
colors: {
  custom: {
    50: '#fcf79e',
    500: '#f7f472',
    950: '#000000',
  },
}
SCSS
$custom: #f7f472;
$custom-light: #fcf79e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f472",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 58.647,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94448,
    "c": 0.15147,
    "h": 107.8
  },
  "luminance": 0.8569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F472

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

Preview Lab → · Contrast checker → · Palette generator →

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