#F2FE74#F2FE74

#F2FE74 is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.1% C 0.161 H 113.6°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#F2FE74
RGBrgb(242, 254, 116)
HSLhsl(65, 99%, 73%)
HSVhsv(65, 54%, 100%)
CMYKcmyk(4.7%, 0%, 54.3%, 0.4%)
CIE-LABlab(96.42, -22.09, 63.50)
CIE-LCHlch(96.42, 67.23, 109.18°)
OKLaboklab(96.15% -0.0645 0.1479)
OKLCHoklch(96.15% 0.161 113.6)
XYZxyz(75.2137, 91.0231, 30.1267)
Luminance0.9102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE74 #8074FE
analogous
#FEC574 #F2FE74 #ADFE74
triadic
#F2FE74 #74F2FE #FE74F2
tetradic
#F2FE74 #74FEC5 #8074FE #FE74AD
square
#F2FE74 #74FEC5 #8074FE #FE74AD
split-complementary
#F2FE74 #74ADFE #C574FE
monochromatic
#E1F602 #ECFE37 #F2FE74 #F8FEB1 #FCFFE1

Accessibility & contrast

On white

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

On black

19.20
#F2FE74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE74
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE74#FFFFFF#000000##000000
##F2FE741.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF366
Deuteranopia (green-blind)
#FFF67C
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fe74;
/* rgb */ color: rgb(242, 254, 116);
/* oklch */ color: oklch(96.1% 0.161 113.6);
Tailwind
colors: {
  custom: {
    50: '#f9fea0',
    500: '#f2fe74',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe74;
$custom-light: #f9fea0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe74",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 116
  },
  "hsl": {
    "h": 65.217,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.96148,
    "c": 0.1614,
    "h": 113.6
  },
  "luminance": 0.91022
}

Semantic roles & 50–950 ramp

primary
#F2FE74
secondary
#493BDB
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FE74

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

Preview Lab → · Contrast checker → · Palette generator →

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