#F5FA72#F5FA72

#F5FA72 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.5% C 0.158 H 111.0°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#F5FA72
RGBrgb(245, 250, 114)
HSLhsl(62, 93%, 71%)
HSVhsv(62, 54%, 98%)
CMYKcmyk(2%, 0%, 54.4%, 2%)
CIE-LABlab(95.58, -19.16, 63.48)
CIE-LCHlch(95.58, 66.31, 106.79°)
OKLaboklab(95.53% -0.0566 0.1476)
OKLCHoklch(95.53% 0.158 111)
XYZxyz(74.8809, 89.0003, 29.1505)
Luminance0.8900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA72 #7772FA
analogous
#FABB72 #F5FA72 #B1FA72
triadic
#F5FA72 #72F5FA #FA72F5
tetradic
#F5FA72 #72FABB #7772FA #FA72B1
square
#F5FA72 #72FABB #7772FA #FA72B1
split-complementary
#F5FA72 #72B1FA #BB72FA
monochromatic
#E1E908 #F1F837 #F5FA72 #F9FCAD #FDFEE1

Accessibility & contrast

On white

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

On black

18.80
#F5FA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA72
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA72#FFFFFF#000000##000000
##F5FA721.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF064
Deuteranopia (green-blind)
#FFF47A
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5fa72;
/* rgb */ color: rgb(245, 250, 114);
/* oklch */ color: oklch(95.5% 0.158 111.0);
Tailwind
colors: {
  custom: {
    50: '#fbfb9f',
    500: '#f5fa72',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa72;
$custom-light: #fbfb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa72",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 62.206,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95526,
    "c": 0.1581,
    "h": 111
  },
  "luminance": 0.88999
}

Semantic roles & 50–950 ramp

primary
#F5FA72
secondary
#403BD6
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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