#F2FF45#F2FF45

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

Color values

HEX#F2FF45
RGBrgb(242, 255, 69)
HSLhsl(64, 100%, 64%)
HSVhsv(64, 73%, 100%)
CMYKcmyk(5.1%, 0%, 72.9%, 0%)
CIE-LABlab(96.34, -25.38, 81.36)
CIE-LCHlch(96.34, 85.22, 107.33°)
OKLaboklab(95.97% -0.0782 0.1792)
OKLCHoklch(95.97% 0.195 113.6)
XYZxyz(73.4544, 90.8285, 19.2913)
Luminance0.9083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF45 #5245FF
analogous
#FFAF45 #F2FF45 #95FF45
triadic
#F2FF45 #45F2FF #FF45F2
tetradic
#F2FF45 #45FFAF #5245FF #FF4595
square
#F2FF45 #45FFAF #5245FF #FF4595
split-complementary
#F2FF45 #4595FF #AF45FF
monochromatic
#BCCA00 #EEFF08 #F2FF45 #F6FF82 #FBFFBF

Accessibility & contrast

On white

1.10
#F2FF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.17
#F2FF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF45
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF45#FFFFFF#000000##000000
##F2FF451.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF31B
Deuteranopia (green-blind)
#FFF655
Tritanopia (blue-blind)
#FFF0DC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2ff45;
/* rgb */ color: rgb(242, 255, 69);
/* oklch */ color: oklch(96.0% 0.195 113.6);
Tailwind
colors: {
  custom: {
    50: '#faff86',
    500: '#f2ff45',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff45;
$custom-light: #faff86;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff45",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 69
  },
  "hsl": {
    "h": 64.194,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.95974,
    "c": 0.19548,
    "h": 113.6
  },
  "luminance": 0.90827
}

Semantic roles & 50–950 ramp

primary
#F2FF45
secondary
#2E23C5
accent
#00E610
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F2FF45

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

Preview Lab → · Contrast checker → · Palette generator →

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