#F2FF7E#F2FF7E

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

Color values

HEX#F2FF7E
RGBrgb(242, 255, 126)
HSLhsl(66, 100%, 75%)
HSVhsv(66, 51%, 100%)
CMYKcmyk(5.1%, 0%, 50.6%, 0%)
CIE-LABlab(96.78, -21.75, 59.48)
CIE-LCHlch(96.78, 63.33, 110.08°)
OKLaboklab(96.47% -0.0626 0.1402)
OKLCHoklch(96.47% 0.154 114.1)
XYZxyz(76.1452, 91.9048, 33.4627)
Luminance0.9190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF7E #8B7EFF
analogous
#FFCC7E #F2FF7E #B1FF7E
triadic
#F2FF7E #7EF2FF #FF7EF2
tetradic
#F2FF7E #7EFFCC #8B7EFF #FF7EB1
square
#F2FF7E #7EFFCC #8B7EFF #FF7EB1
split-complementary
#F2FF7E #7EB1FF #CC7EFF
monochromatic
#E6FF04 #ECFF41 #F2FF7E #F8FFBB #FCFFE0

Accessibility & contrast

On white

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

On black

19.38
#F2FF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF7E
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF7E#FFFFFF#000000##000000
##F2FF7E1.001.0819.3819.38
#FFFFFF1.081.0021.0021.00
#00000019.3821.001.001.00
##00000019.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF472
Deuteranopia (green-blind)
#FFF785
Tritanopia (blue-blind)
#FFF2E2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2ff7e;
/* rgb */ color: rgb(242, 255, 126);
/* oklch */ color: oklch(96.5% 0.154 114.1);
Tailwind
colors: {
  custom: {
    50: '#f8ffa6',
    500: '#f2ff7e',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff7e;
$custom-light: #f8ffa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff7e",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 126
  },
  "hsl": {
    "h": 66.047,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.9647,
    "c": 0.15356,
    "h": 114.1
  },
  "luminance": 0.91904
}

Semantic roles & 50–950 ramp

primary
#F2FF7E
secondary
#5343DE
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F2FF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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