#F2FB8D#F2FB8D

#F2FB8D is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.8% C 0.134 H 112.7°. Best body text is #000000 at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#F2FB8D
RGBrgb(242, 251, 141)
HSLhsl(65, 93%, 77%)
HSVhsv(65, 44%, 98%)
CMYKcmyk(3.6%, 0%, 43.8%, 1.6%)
CIE-LABlab(95.91, -18.45, 51.49)
CIE-LCHlch(95.91, 54.70, 109.71°)
OKLaboklab(95.83% -0.0519 0.1238)
OKLCHoklch(95.83% 0.134 112.7)
XYZxyz(75.9239, 89.7959, 38.5269)
Luminance0.8980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB8D #968DFB
analogous
#FBCD8D #F2FB8D #BBFB8D
triadic
#F2FB8D #8DF2FB #FB8DF2
tetradic
#F2FB8D #8DFBCD #968DFB #FB8DBB
square
#F2FB8D #8DFBCD #968DFB #FB8DBB
split-complementary
#F2FB8D #8DBBFB #CD8DFB
monochromatic
#E5F717 #EBF952 #F2FB8D #F9FDC8 #FCFEE1

Accessibility & contrast

On white

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

On black

18.96
#F2FB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB8D
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB8D#FFFFFF#000000##000000
##F2FB8D1.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF284
Deuteranopia (green-blind)
#FFF592
Tritanopia (blue-blind)
#FEF0E1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fb8d;
/* rgb */ color: rgb(242, 251, 141);
/* oklch */ color: oklch(95.8% 0.134 112.7);
Tailwind
colors: {
  custom: {
    50: '#f8fcb0',
    500: '#f2fb8d',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb8d;
$custom-light: #f8fcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb8d",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 141
  },
  "hsl": {
    "h": 64.909,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.95832,
    "c": 0.13422,
    "h": 112.7
  },
  "luminance": 0.89795
}

Semantic roles & 50–950 ramp

primary
#F2FB8D
secondary
#5D52DB
accent
#00E613
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171711
muted
#858581

Preview Lab

Preview with #F2FB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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