#F2FA7F#F2FA7F

#F2FA7F is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.4% C 0.147 H 112.2°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#F2FA7F
RGBrgb(242, 250, 127)
HSLhsl(64, 92%, 74%)
HSVhsv(64, 49%, 98%)
CMYKcmyk(3.2%, 0%, 49.2%, 2%)
CIE-LABlab(95.49, -19.27, 57.50)
CIE-LCHlch(95.49, 60.64, 108.53°)
OKLaboklab(95.44% -0.0555 0.136)
OKLCHoklch(95.44% 0.147 112.2)
XYZxyz(74.6357, 88.7821, 33.2795)
Luminance0.8878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA7F #877FFA
analogous
#FAC57F #F2FA7F #B5FA7F
triadic
#F2FA7F #7FF2FA #FA7FF2
tetradic
#F2FA7F #7FFAC5 #877FFA #FA7FB5
square
#F2FA7F #7FFAC5 #877FFA #FA7FB5
split-complementary
#F2FA7F #7FB5FA #C57FFA
monochromatic
#E6F50A #ECF844 #F2FA7F #F8FCBA #FCFEE2

Accessibility & contrast

On white

1.12
#F2FA7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.76
#F2FA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA7F
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA7F#FFFFFF#000000##000000
##F2FA7F1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF074
Deuteranopia (green-blind)
#FFF485
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa7f;
/* rgb */ color: rgb(242, 250, 127);
/* oklch */ color: oklch(95.4% 0.147 112.2);
Tailwind
colors: {
  custom: {
    50: '#f8fba7',
    500: '#f2fa7f',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa7f;
$custom-light: #f8fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa7f",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 127
  },
  "hsl": {
    "h": 63.902,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95441,
    "c": 0.14687,
    "h": 112.2
  },
  "luminance": 0.88781
}

Semantic roles & 50–950 ramp

primary
#F2FA7F
secondary
#4F46D7
accent
#00E60F
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #F2FA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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