#F2FF7F#F2FF7F

#F2FF7F is a very light, vivid yellow. Relative luminance 0.919; OKLCH L 96.5% C 0.153 H 114.1°. Best body text is #000000 at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#F2FF7F
RGBrgb(242, 255, 127)
HSLhsl(66, 100%, 75%)
HSVhsv(66, 50%, 100%)
CMYKcmyk(5.1%, 0%, 50.2%, 0%)
CIE-LABlab(96.79, -21.66, 59.04)
CIE-LCHlch(96.79, 62.89, 110.15°)
OKLaboklab(96.48% -0.0623 0.1394)
OKLCHoklch(96.48% 0.153 114.1)
XYZxyz(76.2100, 91.9307, 33.8043)
Luminance0.9193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF7F #8C7FFF
analogous
#FFCC7F #F2FF7F #B2FF7F
triadic
#F2FF7F #7FF2FF #FF7FF2
tetradic
#F2FF7F #7FFFCC #8C7FFF #FF7FB2
square
#F2FF7F #7FFFCC #8C7FFF #FF7FB2
split-complementary
#F2FF7F #7FB2FF #CC7FFF
monochromatic
#E6FF05 #ECFF42 #F2FF7F #F8FFBC #FCFFE0

Accessibility & contrast

On white

1.08
#F2FF7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.39
#F2FF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF7F
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF7F#FFFFFF#000000##000000
##F2FF7F1.001.0819.3919.39
#FFFFFF1.081.0021.0021.00
#00000019.3921.001.001.00
##00000019.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF573
Deuteranopia (green-blind)
#FFF786
Tritanopia (blue-blind)
#FFF3E2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2ff7f;
/* rgb */ color: rgb(242, 255, 127);
/* oklch */ color: oklch(96.5% 0.153 114.1);
Tailwind
colors: {
  custom: {
    50: '#f8ffa7',
    500: '#f2ff7f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff7f;
$custom-light: #f8ffa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff7f",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 127
  },
  "hsl": {
    "h": 66.094,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.96482,
    "c": 0.15263,
    "h": 114.1
  },
  "luminance": 0.9193
}

Semantic roles & 50–950 ramp

primary
#F2FF7F
secondary
#5444DE
accent
#00E617
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F2FF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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