#F5FA6F#F5FA6F

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

Color values

HEX#F5FA6F
RGBrgb(245, 250, 111)
HSLhsl(62, 93%, 71%)
HSVhsv(62, 56%, 98%)
CMYKcmyk(2%, 0%, 55.6%, 2%)
CIE-LABlab(95.55, -19.38, 64.75)
CIE-LCHlch(95.55, 67.59, 106.66°)
OKLaboklab(95.49% -0.0575 0.15)
OKLCHoklch(95.49% 0.161 111)
XYZxyz(74.7129, 88.9331, 28.2659)
Luminance0.8893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA6F #746FFA
analogous
#FAB96F #F5FA6F #AFFA6F
triadic
#F5FA6F #6FF5FA #FA6FF5
tetradic
#F5FA6F #6FFAB9 #746FFA #FA6FAF
square
#F5FA6F #6FFAB9 #746FFA #FA6FAF
split-complementary
#F5FA6F #6FAFFA #B96FFA
monochromatic
#DFE708 #F1F834 #F5FA6F #F9FCAA #FDFEE1

Accessibility & contrast

On white

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

On black

18.79
#F5FA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA6F
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA6F#FFFFFF#000000##000000
##F5FA6F1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF060
Deuteranopia (green-blind)
#FFF477
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5fa6f;
/* rgb */ color: rgb(245, 250, 111);
/* oklch */ color: oklch(95.5% 0.161 111.0);
Tailwind
colors: {
  custom: {
    50: '#fbfb9d',
    500: '#f5fa6f',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa6f;
$custom-light: #fbfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa6f",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 62.158,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95495,
    "c": 0.16066,
    "h": 111
  },
  "luminance": 0.88931
}

Semantic roles & 50–950 ramp

primary
#F5FA6F
secondary
#3E38D5
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5FA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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