#F7F474#F7F474

#F7F474 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.5% C 0.150 H 107.7°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#F7F474
RGBrgb(247, 244, 116)
HSLhsl(59, 89%, 71%)
HSVhsv(59, 53%, 97%)
CMYKcmyk(0%, 1.2%, 53%, 3.1%)
CIE-LABlab(94.20, -15.31, 61.06)
CIE-LCHlch(94.20, 62.95, 104.08°)
OKLaboklab(94.47% -0.0456 0.1426)
OKLCHoklch(94.47% 0.15 107.7)
XYZxyz(73.8628, 85.7385, 29.1779)
Luminance0.8574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F474 #7477F7
analogous
#F7B274 #F7F474 #B8F774
triadic
#F7F474 #74F7F4 #F474F7
tetradic
#F7F474 #74F7B2 #7477F7 #F774B8
square
#F7F474 #74F7B2 #7477F7 #F774B8
split-complementary
#F7F474 #74B8F7 #B274F7
monochromatic
#E4DF0D #F4EF3A #F7F474 #FAF9AE #FDFDE2

Accessibility & contrast

On white

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

On black

18.15
#F7F474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F474
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F474#FFFFFF#000000##000000
##F7F4741.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f474;
/* rgb */ color: rgb(247, 244, 116);
/* oklch */ color: oklch(94.5% 0.150 107.7);
Tailwind
colors: {
  custom: {
    50: '#fcf7a0',
    500: '#f7f474',
    950: '#000000',
  },
}
SCSS
$custom: #f7f474;
$custom-light: #fcf7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f474",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 58.626,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9447,
    "c": 0.1497,
    "h": 107.7
  },
  "luminance": 0.85736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F474

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

Preview Lab → · Contrast checker → · Palette generator →

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