#F5FE8A#F5FE8A

#F5FE8A is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.6% C 0.140 H 112.6°. Best body text is #000000 at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#F5FE8A
RGBrgb(245, 254, 138)
HSLhsl(65, 98%, 77%)
HSVhsv(65, 46%, 100%)
CMYKcmyk(3.5%, 0%, 45.7%, 0.4%)
CIE-LABlab(96.87, -19.04, 54.13)
CIE-LCHlch(96.87, 57.38, 109.38°)
OKLaboklab(96.64% -0.054 0.1294)
OKLCHoklch(96.64% 0.14 112.6)
XYZxyz(77.6866, 92.1324, 37.7307)
Luminance0.9213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FE8A #938AFE
analogous
#FECD8A #F5FE8A #BBFE8A
triadic
#F5FE8A #8AF5FE #FE8AF5
tetradic
#F5FE8A #8AFECD #938AFE #FE8ABB
square
#F5FE8A #8AFECD #938AFE #FE8ABB
split-complementary
#F5FE8A #8ABBFE #CD8AFE
monochromatic
#EBFD11 #F0FD4D #F5FE8A #FAFFC7 #FCFFE1

Accessibility & contrast

On white

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

On black

19.43
#F5FE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FE8A
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FE8A#FFFFFF#000000##000000
##F5FE8A1.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF580
Deuteranopia (green-blind)
#FFF790
Tritanopia (blue-blind)
#FFF2E3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f5fe8a;
/* rgb */ color: rgb(245, 254, 138);
/* oklch */ color: oklch(96.6% 0.140 112.6);
Tailwind
colors: {
  custom: {
    50: '#fafeae',
    500: '#f5fe8a',
    950: '#000000',
  },
}
SCSS
$custom: #f5fe8a;
$custom-light: #fafeae;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fe8a",
  "rgb": {
    "r": 245,
    "g": 254,
    "b": 138
  },
  "hsl": {
    "h": 64.655,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.96642,
    "c": 0.14021,
    "h": 112.6
  },
  "luminance": 0.92131
}

Semantic roles & 50–950 ramp

primary
#F5FE8A
secondary
#594EDE
accent
#00E612
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5FE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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