#F5FA70#F5FA70

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

Color values

HEX#F5FA70
RGBrgb(245, 250, 112)
HSLhsl(62, 93%, 71%)
HSVhsv(62, 55%, 98%)
CMYKcmyk(2%, 0%, 55.2%, 2%)
CIE-LABlab(95.56, -19.31, 64.33)
CIE-LCHlch(95.56, 67.16, 106.71°)
OKLaboklab(95.51% -0.0572 0.1492)
OKLCHoklch(95.51% 0.16 111)
XYZxyz(74.7683, 88.9552, 28.5575)
Luminance0.8895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA70 #7570FA
analogous
#FABA70 #F5FA70 #B0FA70
triadic
#F5FA70 #70F5FA #FA70F5
tetradic
#F5FA70 #70FABA #7570FA #FA70B0
square
#F5FA70 #70FABA #7570FA #FA70B0
split-complementary
#F5FA70 #70B0FA #BA70FA
monochromatic
#DFE808 #F1F835 #F5FA70 #F9FCAB #FDFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5FA70#FFFFFF#000000##000000
##F5FA701.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)
#FFF062
Deuteranopia (green-blind)
#FFF478
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5fa70;
/* rgb */ color: rgb(245, 250, 112);
/* oklch */ color: oklch(95.5% 0.160 111.0);
Tailwind
colors: {
  custom: {
    50: '#fbfb9d',
    500: '#f5fa70',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa70;
$custom-light: #fbfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa70",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 62.174,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95505,
    "c": 0.15981,
    "h": 111
  },
  "luminance": 0.88954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5FA70

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

Preview Lab → · Contrast checker → · Palette generator →

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