#F2FF7D#F2FF7D

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

Color values

HEX#F2FF7D
RGBrgb(242, 255, 125)
HSLhsl(66, 100%, 75%)
HSVhsv(66, 51%, 100%)
CMYKcmyk(5.1%, 0%, 51%, 0%)
CIE-LABlab(96.77, -21.83, 59.92)
CIE-LCHlch(96.77, 63.77, 110.02°)
OKLaboklab(96.46% -0.0629 0.1411)
OKLCHoklch(96.46% 0.154 114)
XYZxyz(76.0810, 91.8791, 33.1246)
Luminance0.9188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF7D #8A7DFF
analogous
#FFCB7D #F2FF7D #B1FF7D
triadic
#F2FF7D #7DF2FF #FF7DF2
tetradic
#F2FF7D #7DFFCB #8A7DFF #FF7DB1
square
#F2FF7D #7DFFCB #8A7DFF #FF7DB1
split-complementary
#F2FF7D #7DB1FF #CB7DFF
monochromatic
#E6FF03 #ECFF40 #F2FF7D #F8FFBA #FCFFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2FF7D#FFFFFF#000000##000000
##F2FF7D1.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)
#FFF471
Deuteranopia (green-blind)
#FFF784
Tritanopia (blue-blind)
#FFF2E2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2ff7d;
/* rgb */ color: rgb(242, 255, 125);
/* oklch */ color: oklch(96.5% 0.154 114.0);
Tailwind
colors: {
  custom: {
    50: '#f8ffa6',
    500: '#f2ff7d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff7d;
$custom-light: #f8ffa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff7d",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 125
  },
  "hsl": {
    "h": 66,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96458,
    "c": 0.15448,
    "h": 114
  },
  "luminance": 0.91878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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