#F7FA72#F7FA72

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

Color values

HEX#F7FA72
RGBrgb(247, 250, 114)
HSLhsl(61, 93%, 71%)
HSVhsv(61, 54%, 98%)
CMYKcmyk(1.2%, 0%, 54.4%, 2%)
CIE-LABlab(95.73, -18.37, 63.69)
CIE-LCHlch(95.73, 66.29, 106.09°)
OKLaboklab(95.68% -0.0545 0.148)
OKLCHoklch(95.68% 0.158 110.2)
XYZxyz(75.5826, 89.3621, 29.1834)
Luminance0.8936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FA72 #7572FA
analogous
#FAB972 #F7FA72 #B3FA72
triadic
#F7FA72 #72F7FA #FA72F7
tetradic
#F7FA72 #72FAB9 #7572FA #FA72B3
square
#F7FA72 #72FAB9 #7572FA #FA72B3
split-complementary
#F7FA72 #72B3FA #B972FA
monochromatic
#E4E908 #F4F837 #F7FA72 #FAFCAD #FDFEE1

Accessibility & contrast

On white

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

On black

18.87
#F7FA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FA72
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FA72#FFFFFF#000000##000000
##F7FA721.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7fa72;
/* rgb */ color: rgb(247, 250, 114);
/* oklch */ color: oklch(95.7% 0.158 110.2);
Tailwind
colors: {
  custom: {
    50: '#fcfb9f',
    500: '#f7fa72',
    950: '#000000',
  },
}
SCSS
$custom: #f7fa72;
$custom-light: #fcfb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fa72",
  "rgb": {
    "r": 247,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 61.324,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95684,
    "c": 0.15774,
    "h": 110.2
  },
  "luminance": 0.8936
}

Semantic roles & 50–950 ramp

primary
#F7FA72
secondary
#3E3BD6
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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