#F2FE7D#F2FE7D

#F2FE7D is a very light, vivid yellow. Relative luminance 0.912; OKLCH L 96.3% C 0.153 H 113.7°. Best body text is #000000 at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#F2FE7D
RGBrgb(242, 254, 125)
HSLhsl(66, 98%, 74%)
HSVhsv(66, 51%, 100%)
CMYKcmyk(4.7%, 0%, 50.8%, 0.4%)
CIE-LABlab(96.51, -21.36, 59.61)
CIE-LCHlch(96.51, 63.32, 109.71°)
OKLaboklab(96.25% -0.0616 0.1404)
OKLCHoklch(96.25% 0.153 113.7)
XYZxyz(75.7628, 91.2428, 33.0186)
Luminance0.9124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE7D #897DFE
analogous
#FEC97D #F2FE7D #B2FE7D
triadic
#F2FE7D #7DF2FE #FE7DF2
tetradic
#F2FE7D #7DFEC9 #897DFE #FE7DB2
square
#F2FE7D #7DFEC9 #897DFE #FE7DB2
split-complementary
#F2FE7D #7DB2FE #C97DFE
monochromatic
#E6FD04 #ECFE40 #F2FE7D #F8FEBA #FCFFE1

Accessibility & contrast

On white

1.09
#F2FE7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.25
#F2FE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE7D
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE7D#FFFFFF#000000##000000
##F2FE7D1.001.0919.2519.25
#FFFFFF1.091.0021.0021.00
#00000019.2521.001.001.00
##00000019.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF471
Deuteranopia (green-blind)
#FFF684
Tritanopia (blue-blind)
#FFF1E1
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fe7d;
/* rgb */ color: rgb(242, 254, 125);
/* oklch */ color: oklch(96.3% 0.153 113.7);
Tailwind
colors: {
  custom: {
    50: '#f8fea6',
    500: '#f2fe7d',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe7d;
$custom-light: #f8fea6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe7d",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 125
  },
  "hsl": {
    "h": 65.581,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9625,
    "c": 0.15333,
    "h": 113.7
  },
  "luminance": 0.91242
}

Semantic roles & 50–950 ramp

primary
#F2FE7D
secondary
#5143DC
accent
#00E615
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F2FE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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