#F2FB7D#F2FB7D

#F2FB7D is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.6% C 0.150 H 112.6°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#F2FB7D
RGBrgb(242, 251, 125)
HSLhsl(64, 94%, 74%)
HSVhsv(64, 50%, 98%)
CMYKcmyk(3.6%, 0%, 50.2%, 1.6%)
CIE-LABlab(95.73, -19.92, 58.69)
CIE-LCHlch(95.73, 61.98, 108.75°)
OKLaboklab(95.63% -0.0575 0.1384)
OKLCHoklch(95.63% 0.15 112.6)
XYZxyz(74.8182, 89.3536, 32.7037)
Luminance0.8935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB7D #867DFB
analogous
#FBC57D #F2FB7D #B3FB7D
triadic
#F2FB7D #7DF2FB #FB7DF2
tetradic
#F2FB7D #7DFBC5 #867DFB #FB7DB3
square
#F2FB7D #7DFBC5 #867DFB #FB7DB3
split-complementary
#F2FB7D #7DB3FB #C57DFB
monochromatic
#E5F608 #ECF942 #F2FB7D #F8FDB8 #FCFEE1

Accessibility & contrast

On white

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

On black

18.87
#F2FB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB7D
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB7D#FFFFFF#000000##000000
##F2FB7D1.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF171
Deuteranopia (green-blind)
#FFF484
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fb7d;
/* rgb */ color: rgb(242, 251, 125);
/* oklch */ color: oklch(95.6% 0.150 112.6);
Tailwind
colors: {
  custom: {
    50: '#f8fca6',
    500: '#f2fb7d',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb7d;
$custom-light: #f8fca6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb7d",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 125
  },
  "hsl": {
    "h": 64.286,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95625,
    "c": 0.1499,
    "h": 112.6
  },
  "luminance": 0.89352
}

Semantic roles & 50–950 ramp

primary
#F2FB7D
secondary
#4E44D8
accent
#00E610
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F2FB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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