#F2FB72#F2FB72

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

Color values

HEX#F2FB72
RGBrgb(242, 251, 114)
HSLhsl(64, 94%, 72%)
HSVhsv(64, 55%, 98%)
CMYKcmyk(3.6%, 0%, 54.6%, 1.6%)
CIE-LABlab(95.62, -20.81, 63.46)
CIE-LCHlch(95.62, 66.79, 108.16°)
OKLaboklab(95.5% -0.0611 0.1476)
OKLCHoklch(95.5% 0.16 112.5)
XYZxyz(74.1540, 89.0880, 29.2057)
Luminance0.8909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB72 #7B72FB
analogous
#FBC072 #F2FB72 #AEFB72
triadic
#F2FB72 #72F2FB #FB72F2
tetradic
#F2FB72 #72FBC0 #7B72FB #FB72AE
square
#F2FB72 #72FBC0 #7B72FB #FB72AE
split-complementary
#F2FB72 #72AEFB #C072FB
monochromatic
#DDEC07 #EDF936 #F2FB72 #F7FDAE #FCFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2FB72#FFFFFF#000000##000000
##F2FB721.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)
#FFF164
Deuteranopia (green-blind)
#FFF47A
Tritanopia (blue-blind)
#FFEEDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fb72;
/* rgb */ color: rgb(242, 251, 114);
/* oklch */ color: oklch(95.5% 0.160 112.5);
Tailwind
colors: {
  custom: {
    50: '#f9fc9f',
    500: '#f2fb72',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb72;
$custom-light: #f9fc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb72",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 114
  },
  "hsl": {
    "h": 63.942,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95501,
    "c": 0.15979,
    "h": 112.5
  },
  "luminance": 0.89087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FB72

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

Preview Lab → · Contrast checker → · Palette generator →

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