#F7FA74#F7FA74

#F7FA74 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.7% C 0.156 H 110.2°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#F7FA74
RGBrgb(247, 250, 116)
HSLhsl(61, 93%, 72%)
HSVhsv(61, 54%, 98%)
CMYKcmyk(1.2%, 0%, 53.6%, 2%)
CIE-LABlab(95.75, -18.22, 62.84)
CIE-LCHlch(95.75, 65.42, 106.17°)
OKLaboklab(95.71% -0.0538 0.1464)
OKLCHoklch(95.71% 0.156 110.2)
XYZxyz(75.6976, 89.4081, 29.7895)
Luminance0.8941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FA74 #7774FA
analogous
#FABA74 #F7FA74 #B4FA74
triadic
#F7FA74 #74F7FA #FA74F7
tetradic
#F7FA74 #74FABA #7774FA #FA74B4
square
#F7FA74 #74FABA #7774FA #FA74B4
split-complementary
#F7FA74 #74B4FA #BA74FA
monochromatic
#E6EB08 #F4F839 #F7FA74 #FAFCAF #FDFEE1

Accessibility & contrast

On white

1.11
#F7FA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.88
#F7FA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FA74
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FA74#FFFFFF#000000##000000
##F7FA741.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF166
Deuteranopia (green-blind)
#FFF57B
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f7fa74;
/* rgb */ color: rgb(247, 250, 116);
/* oklch */ color: oklch(95.7% 0.156 110.2);
Tailwind
colors: {
  custom: {
    50: '#fcfba0',
    500: '#f7fa74',
    950: '#000000',
  },
}
SCSS
$custom: #f7fa74;
$custom-light: #fcfba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fa74",
  "rgb": {
    "r": 247,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 61.343,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95705,
    "c": 0.15601,
    "h": 110.2
  },
  "luminance": 0.89406
}

Semantic roles & 50–950 ramp

primary
#F7FA74
secondary
#403CD6
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7FA74

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

Preview Lab → · Contrast checker → · Palette generator →

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