#F5FA7C#F5FA7C

#F5FA7C is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.6% C 0.149 H 111.0°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#F5FA7C
RGBrgb(245, 250, 124)
HSLhsl(62, 93%, 73%)
HSVhsv(62, 50%, 98%)
CMYKcmyk(2%, 0%, 50.4%, 2%)
CIE-LABlab(95.68, -18.36, 59.15)
CIE-LCHlch(95.68, 61.93, 107.24°)
OKLaboklab(95.64% -0.0533 0.1393)
OKLCHoklch(95.64% 0.149 111)
XYZxyz(75.4815, 89.2405, 32.3138)
Luminance0.8924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA7C #817CFA
analogous
#FAC07C #F5FA7C #B6FA7C
triadic
#F5FA7C #7CF5FA #FA7CF5
tetradic
#F5FA7C #7CFAC0 #817CFA #FA7CB6
square
#F5FA7C #7CFAC0 #817CFA #FA7CB6
split-complementary
#F5FA7C #7CB6FA #C07CFA
monochromatic
#E9F209 #F0F841 #F5FA7C #F9FCB7 #FDFEE2

Accessibility & contrast

On white

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

On black

18.85
#F5FA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA7C
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA7C#FFFFFF#000000##000000
##F5FA7C1.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF170
Deuteranopia (green-blind)
#FFF483
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fa7c;
/* rgb */ color: rgb(245, 250, 124);
/* oklch */ color: oklch(95.6% 0.149 111.0);
Tailwind
colors: {
  custom: {
    50: '#fbfba5',
    500: '#f5fa7c',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa7c;
$custom-light: #fbfba5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa7c",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 62.381,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95639,
    "c": 0.14913,
    "h": 111
  },
  "luminance": 0.89239
}

Semantic roles & 50–950 ramp

primary
#F5FA7C
secondary
#4943D7
accent
#00E609
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5FA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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