#F5FE7D#F5FE7D

#F5FE7D is a very light, vivid yellow. Relative luminance 0.918; OKLCH L 96.5% C 0.153 H 112.5°. Best body text is #000000 at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#F5FE7D
RGBrgb(245, 254, 125)
HSLhsl(64, 98%, 74%)
HSVhsv(64, 51%, 100%)
CMYKcmyk(3.5%, 0%, 50.8%, 0.4%)
CIE-LABlab(96.73, -20.20, 59.93)
CIE-LCHlch(96.73, 63.24, 108.62°)
OKLaboklab(96.48% -0.0585 0.1411)
OKLCHoklch(96.48% 0.153 112.5)
XYZxyz(76.8012, 91.7782, 33.0672)
Luminance0.9178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FE7D #867DFE
analogous
#FEC77D #F5FE7D #B5FE7D
triadic
#F5FE7D #7DF5FE #FE7DF5
tetradic
#F5FE7D #7DFEC7 #867DFE #FE7DB5
square
#F5FE7D #7DFEC7 #867DFE #FE7DB5
split-complementary
#F5FE7D #7DB5FE #C77DFE
monochromatic
#ECFD04 #F0FE40 #F5FE7D #FAFEBA #FDFFE1

Accessibility & contrast

On white

1.08
#F5FE7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.36
#F5FE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FE7D
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FE7D#FFFFFF#000000##000000
##F5FE7D1.001.0819.3619.36
#FFFFFF1.081.0021.0021.00
#00000019.3621.001.001.00
##00000019.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF471
Deuteranopia (green-blind)
#FFF784
Tritanopia (blue-blind)
#FFF1E1
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f5fe7d;
/* rgb */ color: rgb(245, 254, 125);
/* oklch */ color: oklch(96.5% 0.153 112.5);
Tailwind
colors: {
  custom: {
    50: '#fbfea6',
    500: '#f5fe7d',
    950: '#000000',
  },
}
SCSS
$custom: #f5fe7d;
$custom-light: #fbfea6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fe7d",
  "rgb": {
    "r": 245,
    "g": 254,
    "b": 125
  },
  "hsl": {
    "h": 64.186,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.96479,
    "c": 0.15268,
    "h": 112.5
  },
  "luminance": 0.91777
}

Semantic roles & 50–950 ramp

primary
#F5FE7D
secondary
#4E43DC
accent
#00E610
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F5FE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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