#F5FA74#F5FA74

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

Color values

HEX#F5FA74
RGBrgb(245, 250, 116)
HSLhsl(62, 93%, 72%)
HSVhsv(62, 54%, 98%)
CMYKcmyk(2%, 0%, 53.6%, 2%)
CIE-LABlab(95.60, -19.00, 62.62)
CIE-LCHlch(95.60, 65.44, 106.88°)
OKLaboklab(95.55% -0.056 0.146)
OKLCHoklch(95.55% 0.156 111)
XYZxyz(74.9960, 89.0463, 29.7566)
Luminance0.8904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA74 #7974FA
analogous
#FABC74 #F5FA74 #B2FA74
triadic
#F5FA74 #74F5FA #FA74F5
tetradic
#F5FA74 #74FABC #7974FA #FA74B2
square
#F5FA74 #74FABC #7974FA #FA74B2
split-complementary
#F5FA74 #74B2FA #BC74FA
monochromatic
#E3EB08 #F1F839 #F5FA74 #F9FCAF #FDFEE1

Accessibility & contrast

On white

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

On black

18.81
#F5FA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA74
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA74#FFFFFF#000000##000000
##F5FA741.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5fa74;
/* rgb */ color: rgb(245, 250, 116);
/* oklch */ color: oklch(95.5% 0.156 111.0);
Tailwind
colors: {
  custom: {
    50: '#fbfba0',
    500: '#f5fa74',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa74;
$custom-light: #fbfba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa74",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 62.239,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95548,
    "c": 0.15636,
    "h": 111
  },
  "luminance": 0.89045
}

Semantic roles & 50–950 ramp

primary
#F5FA74
secondary
#423CD6
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5FA74

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

Preview Lab → · Contrast checker → · Palette generator →

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