#F2FB73#F2FB73

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

Color values

HEX#F2FB73
RGBrgb(242, 251, 115)
HSLhsl(64, 94%, 72%)
HSVhsv(64, 54%, 98%)
CMYKcmyk(3.6%, 0%, 54.2%, 1.6%)
CIE-LABlab(95.63, -20.74, 63.03)
CIE-LCHlch(95.63, 66.36, 108.21°)
OKLaboklab(95.51% -0.0608 0.1468)
OKLCHoklch(95.51% 0.159 112.5)
XYZxyz(74.2113, 89.1108, 29.5071)
Luminance0.8911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB73 #7C73FB
analogous
#FBC073 #F2FB73 #AEFB73
triadic
#F2FB73 #73F2FB #FB73F2
tetradic
#F2FB73 #73FBC0 #7C73FB #FB73AE
square
#F2FB73 #73FBC0 #7C73FB #FB73AE
split-complementary
#F2FB73 #73AEFB #C073FB
monochromatic
#DEED07 #ECF938 #F2FB73 #F8FDAF #FCFEE1

Accessibility & contrast

On white

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

On black

18.82
#F2FB73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB73
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB73#FFFFFF#000000##000000
##F2FB731.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2fb73;
/* rgb */ color: rgb(242, 251, 115);
/* oklch */ color: oklch(95.5% 0.159 112.5);
Tailwind
colors: {
  custom: {
    50: '#f9fc9f',
    500: '#f2fb73',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb73;
$custom-light: #f9fc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb73",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 115
  },
  "hsl": {
    "h": 63.971,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95511,
    "c": 0.15892,
    "h": 112.5
  },
  "luminance": 0.89109
}

Semantic roles & 50–950 ramp

primary
#F2FB73
secondary
#453BD7
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FB73

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

Preview Lab → · Contrast checker → · Palette generator →

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