#F2FF4C#F2FF4C

#F2FF4C is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.0% C 0.192 H 113.6°. Best body text is #000000 at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#F2FF4C
RGBrgb(242, 255, 76)
HSLhsl(64, 100%, 65%)
HSVhsv(64, 70%, 100%)
CMYKcmyk(5.1%, 0%, 70.2%, 0%)
CIE-LABlab(96.38, -25.06, 79.12)
CIE-LCHlch(96.38, 82.99, 107.58°)
OKLaboklab(96.02% -0.0767 0.1756)
OKLCHoklch(96.02% 0.192 113.6)
XYZxyz(73.6846, 90.9206, 20.5039)
Luminance0.9092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF4C #594CFF
analogous
#FFB34C #F2FF4C #98FF4C
triadic
#F2FF4C #4CF2FF #FF4CF2
tetradic
#F2FF4C #4CFFB3 #594CFF #FF4C98
square
#F2FF4C #4CFFB3 #594CFF #FF4C98
split-complementary
#F2FF4C #4C98FF #B34CFF
monochromatic
#C1D100 #EEFF0F #F2FF4C #F6FF89 #FBFFC6

Accessibility & contrast

On white

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

On black

19.18
#F2FF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF4C
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF4C#FFFFFF#000000##000000
##F2FF4C1.001.0919.1819.18
#FFFFFF1.091.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF32B
Deuteranopia (green-blind)
#FFF65A
Tritanopia (blue-blind)
#FFF0DC
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2ff4c;
/* rgb */ color: rgb(242, 255, 76);
/* oklch */ color: oklch(96.0% 0.192 113.6);
Tailwind
colors: {
  custom: {
    50: '#faff89',
    500: '#f2ff4c',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff4c;
$custom-light: #faff89;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff4c",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 76
  },
  "hsl": {
    "h": 64.358,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.96017,
    "c": 0.19161,
    "h": 113.6
  },
  "luminance": 0.90919
}

Semantic roles & 50–950 ramp

primary
#F2FF4C
secondary
#3024CB
accent
#00E611
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F2FF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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