#F2FB75#F2FB75

#F2FB75 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.5% C 0.157 H 112.5°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#F2FB75
RGBrgb(242, 251, 117)
HSLhsl(64, 94%, 72%)
HSVhsv(64, 53%, 98%)
CMYKcmyk(3.6%, 0%, 53.4%, 1.6%)
CIE-LABlab(95.65, -20.58, 62.18)
CIE-LCHlch(95.65, 65.50, 108.31°)
OKLaboklab(95.53% -0.0602 0.1452)
OKLCHoklch(95.53% 0.157 112.5)
XYZxyz(74.3276, 89.1574, 30.1198)
Luminance0.8916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB75 #7E75FB
analogous
#FBC175 #F2FB75 #AFFB75
triadic
#F2FB75 #75F2FB #FB75F2
tetradic
#F2FB75 #75FBC1 #7E75FB #FB75AF
square
#F2FB75 #75FBC1 #7E75FB #FB75AF
split-complementary
#F2FB75 #75AFFB #C175FB
monochromatic
#DFEF07 #ECF93A #F2FB75 #F8FDB0 #FCFEE1

Accessibility & contrast

On white

1.12
#F2FB75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#F2FB75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB75
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB75#FFFFFF#000000##000000
##F2FB751.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF168
Deuteranopia (green-blind)
#FFF47C
Tritanopia (blue-blind)
#FFEEDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fb75;
/* rgb */ color: rgb(242, 251, 117);
/* oklch */ color: oklch(95.5% 0.157 112.5);
Tailwind
colors: {
  custom: {
    50: '#f9fca0',
    500: '#f2fb75',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb75;
$custom-light: #f9fca0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb75",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 117
  },
  "hsl": {
    "h": 64.03,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95533,
    "c": 0.15717,
    "h": 112.5
  },
  "luminance": 0.89156
}

Semantic roles & 50–950 ramp

primary
#F2FB75
secondary
#473DD7
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FB75

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

Preview Lab → · Contrast checker → · Palette generator →

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