#F2FF8D#F2FF8D

#F2FF8D is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.7% C 0.139 H 114.4°. Best body text is #000000 at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#F2FF8D
RGBrgb(242, 255, 141)
HSLhsl(67, 100%, 78%)
HSVhsv(67, 45%, 100%)
CMYKcmyk(5.1%, 0%, 44.7%, 0%)
CIE-LABlab(96.95, -20.37, 52.77)
CIE-LCHlch(96.95, 56.57, 111.11°)
OKLaboklab(96.66% -0.0574 0.1266)
OKLCHoklch(96.66% 0.139 114.4)
XYZxyz(77.1866, 92.3214, 38.9478)
Luminance0.9232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF8D #9A8DFF
analogous
#FFD38D #F2FF8D #B9FF8D
triadic
#F2FF8D #8DF2FF #FF8DF2
tetradic
#F2FF8D #8DFFD3 #9A8DFF #FF8DB9
square
#F2FF8D #8DFFD3 #9A8DFF #FF8DB9
split-complementary
#F2FF8D #8DB9FF #D38DFF
monochromatic
#E4FF13 #EBFF50 #F2FF8D #F9FFCA #FCFFE0

Accessibility & contrast

On white

1.08
#F2FF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.46
#F2FF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF8D
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF8D#FFFFFF#000000##000000
##F2FF8D1.001.0819.4619.46
#FFFFFF1.081.0021.0021.00
#00000019.4621.001.001.00
##00000019.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF583
Deuteranopia (green-blind)
#FFF793
Tritanopia (blue-blind)
#FEF4E4
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2ff8d;
/* rgb */ color: rgb(242, 255, 141);
/* oklch */ color: oklch(96.7% 0.139 114.4);
Tailwind
colors: {
  custom: {
    50: '#f8ffb0',
    500: '#f2ff8d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff8d;
$custom-light: #f8ffb0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff8d",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 141
  },
  "hsl": {
    "h": 66.842,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.96661,
    "c": 0.13902,
    "h": 114.4
  },
  "luminance": 0.9232
}

Semantic roles & 50–950 ramp

primary
#F2FF8D
secondary
#6050E0
accent
#00E61A
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171811
muted
#858681

Preview Lab

Preview with #F2FF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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