#F4FA97#F4FA97

#F4FA97 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.122 H 111.5°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#F4FA97
RGBrgb(244, 250, 151)
HSLhsl(64, 91%, 79%)
HSVhsv(64, 40%, 98%)
CMYKcmyk(2.4%, 0%, 39.6%, 2%)
CIE-LABlab(95.93, -16.19, 46.76)
CIE-LCHlch(95.93, 49.48, 109.09°)
OKLaboklab(95.93% -0.0447 0.1137)
OKLCHoklch(95.93% 0.122 111.5)
XYZxyz(77.0806, 89.8399, 42.5525)
Luminance0.8984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4FA97 #9D97FA
analogous
#FACE97 #F4FA97 #C2FA97
triadic
#F4FA97 #97F4FA #FA97F4
tetradic
#F4FA97 #97FACE #9D97FA #FA97C2
square
#F4FA97 #97FACE #9D97FA #FA97C2
split-complementary
#F4FA97 #97C2FA #CE97FA
monochromatic
#E8F422 #EEF75D #F4FA97 #FAFDD1 #FCFEE2

Accessibility & contrast

On white

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

On black

18.97
#F4FA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4FA97
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4FA97#FFFFFF#000000##000000
##F4FA971.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFF59C
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f4fa97;
/* rgb */ color: rgb(244, 250, 151);
/* oklch */ color: oklch(95.9% 0.122 111.5);
Tailwind
colors: {
  custom: {
    50: '#f9fbb7',
    500: '#f4fa97',
    950: '#000000',
  },
}
SCSS
$custom: #f4fa97;
$custom-light: #f9fbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f4fa97",
  "rgb": {
    "r": 244,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 63.636,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95925,
    "c": 0.12219,
    "h": 111.5
  },
  "luminance": 0.89839
}

Semantic roles & 50–950 ramp

primary
#F4FA97
secondary
#635BDA
accent
#00E60E
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F4FA97

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

Preview Lab → · Contrast checker → · Palette generator →

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