#F2FF74#F2FF74

#F2FF74 is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.4% C 0.163 H 113.9°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#F2FF74
RGBrgb(242, 255, 116)
HSLhsl(66, 100%, 73%)
HSVhsv(66, 55%, 100%)
CMYKcmyk(5.1%, 0%, 54.5%, 0%)
CIE-LABlab(96.68, -22.57, 63.80)
CIE-LCHlch(96.68, 67.67, 109.48°)
OKLaboklab(96.36% -0.0659 0.1486)
OKLCHoklch(96.36% 0.163 113.9)
XYZxyz(75.5319, 91.6595, 30.2327)
Luminance0.9166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF74 #8174FF
analogous
#FFC774 #F2FF74 #ACFF74
triadic
#F2FF74 #74F2FF #FF74F2
tetradic
#F2FF74 #74FFC7 #8174FF #FF74AC
square
#F2FF74 #74FFC7 #8174FF #FF74AC
split-complementary
#F2FF74 #74ACFF #C774FF
monochromatic
#E1F900 #ECFF37 #F2FF74 #F8FFB1 #FCFFE0

Accessibility & contrast

On white

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

On black

19.33
#F2FF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF74
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF74#FFFFFF#000000##000000
##F2FF741.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF466
Deuteranopia (green-blind)
#FFF77C
Tritanopia (blue-blind)
#FFF2E0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2ff74;
/* rgb */ color: rgb(242, 255, 116);
/* oklch */ color: oklch(96.4% 0.163 113.9);
Tailwind
colors: {
  custom: {
    50: '#f9ffa0',
    500: '#f2ff74',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff74;
$custom-light: #f9ffa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff74",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 116
  },
  "hsl": {
    "h": 65.612,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.96357,
    "c": 0.16253,
    "h": 113.9
  },
  "luminance": 0.91658
}

Semantic roles & 50–950 ramp

primary
#F2FF74
secondary
#4A3BDC
accent
#00E615
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FF74

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

Preview Lab → · Contrast checker → · Palette generator →

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