#F5FA7F#F5FA7F

#F5FA7F is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.7% C 0.146 H 111.0°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#F5FA7F
RGBrgb(245, 250, 127)
HSLhsl(62, 92%, 74%)
HSVhsv(62, 49%, 98%)
CMYKcmyk(2%, 0%, 49.2%, 2%)
CIE-LABlab(95.71, -18.10, 57.82)
CIE-LCHlch(95.71, 60.59, 107.38°)
OKLaboklab(95.68% -0.0523 0.1367)
OKLCHoklch(95.68% 0.146 111)
XYZxyz(75.6741, 89.3176, 33.3282)
Luminance0.8932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA7F #847FFA
analogous
#FAC27F #F5FA7F #B8FA7F
triadic
#F5FA7F #7FF5FA #FA7FF5
tetradic
#F5FA7F #7FFAC2 #847FFA #FA7FB8
square
#F5FA7F #7FFAC2 #847FFA #FA7FB8
split-complementary
#F5FA7F #7FB8FA #C27FFA
monochromatic
#EBF50A #F0F844 #F5FA7F #FAFCBA #FDFEE2

Accessibility & contrast

On white

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

On black

18.86
#F5FA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA7F
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA7F#FFFFFF#000000##000000
##F5FA7F1.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF174
Deuteranopia (green-blind)
#FFF485
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fa7f;
/* rgb */ color: rgb(245, 250, 127);
/* oklch */ color: oklch(95.7% 0.146 111.0);
Tailwind
colors: {
  custom: {
    50: '#fafba7',
    500: '#f5fa7f',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa7f;
$custom-light: #fafba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa7f",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 127
  },
  "hsl": {
    "h": 62.439,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95675,
    "c": 0.14632,
    "h": 111
  },
  "luminance": 0.89316
}

Semantic roles & 50–950 ramp

primary
#F5FA7F
secondary
#4C46D7
accent
#00E609
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5FA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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