#F2FD5A#F2FD5A

#F2FD5A is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 95.7% C 0.181 H 113.0°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#F2FD5A
RGBrgb(242, 253, 90)
HSLhsl(64, 98%, 67%)
HSVhsv(64, 64%, 99%)
CMYKcmyk(4.3%, 0%, 64.4%, 0.8%)
CIE-LABlab(95.94, -23.38, 73.65)
CIE-LCHlch(95.94, 77.27, 107.61°)
OKLaboklab(95.7% -0.0707 0.1662)
OKLCHoklch(95.7% 0.181 113)
XYZxyz(73.5907, 89.8675, 23.1404)
Luminance0.8987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FD5A #655AFD
analogous
#FDB75A #F2FD5A #A1FD5A
triadic
#F2FD5A #5AF2FD #FD5AF2
tetradic
#F2FD5A #5AFDB7 #655AFD #FD5AA1
square
#F2FD5A #5AFDB7 #655AFD #FD5AA1
split-complementary
#F2FD5A #5AA1FD #B75AFD
monochromatic
#CBDA03 #EDFC1E #F2FD5A #F7FE96 #FCFED3

Accessibility & contrast

On white

1.11
#F2FD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.97
#F2FD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FD5A
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FD5A#FFFFFF#000000##000000
##F2FD5A1.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF243
Deuteranopia (green-blind)
#FFF565
Tritanopia (blue-blind)
#FFEFDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fd5a;
/* rgb */ color: rgb(242, 253, 90);
/* oklch */ color: oklch(95.7% 0.181 113.0);
Tailwind
colors: {
  custom: {
    50: '#fafd90',
    500: '#f2fd5a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fd5a;
$custom-light: #fafd90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fd5a",
  "rgb": {
    "r": 242,
    "g": 253,
    "b": 90
  },
  "hsl": {
    "h": 64.049,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.95697,
    "c": 0.18065,
    "h": 113
  },
  "luminance": 0.89866
}

Semantic roles & 50–950 ramp

primary
#F2FD5A
secondary
#3328D3
accent
#00E60F
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2FD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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