#F2FD8A#F2FD8A

#F2FD8A is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.2% C 0.140 H 113.5°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#F2FD8A
RGBrgb(242, 253, 138)
HSLhsl(66, 97%, 77%)
HSVhsv(66, 45%, 99%)
CMYKcmyk(4.3%, 0%, 45.5%, 0.8%)
CIE-LABlab(96.40, -19.71, 53.50)
CIE-LCHlch(96.40, 57.01, 110.22°)
OKLaboklab(96.21% -0.0557 0.128)
OKLCHoklch(96.21% 0.14 113.5)
XYZxyz(76.3317, 90.9639, 37.5765)
Luminance0.9096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FD8A #958AFD
analogous
#FDCF8A #F2FD8A #B9FD8A
triadic
#F2FD8A #8AF2FD #FD8AF2
tetradic
#F2FD8A #8AFDCF #958AFD #FD8AB9
square
#F2FD8A #8AFDCF #958AFD #FD8AB9
split-complementary
#F2FD8A #8AB9FD #CF8AFD
monochromatic
#E5FB12 #EBFC4E #F2FD8A #F9FEC6 #FCFEE1

Accessibility & contrast

On white

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

On black

19.19
#F2FD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FD8A
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FD8A#FFFFFF#000000##000000
##F2FD8A1.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF380
Deuteranopia (green-blind)
#FFF690
Tritanopia (blue-blind)
#FEF1E2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fd8a;
/* rgb */ color: rgb(242, 253, 138);
/* oklch */ color: oklch(96.2% 0.140 113.5);
Tailwind
colors: {
  custom: {
    50: '#f8feae',
    500: '#f2fd8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fd8a;
$custom-light: #f8feae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fd8a",
  "rgb": {
    "r": 242,
    "g": 253,
    "b": 138
  },
  "hsl": {
    "h": 65.739,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.96205,
    "c": 0.13964,
    "h": 113.5
  },
  "luminance": 0.90963
}

Semantic roles & 50–950 ramp

primary
#F2FD8A
secondary
#5C4EDD
accent
#00E616
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2FD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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