#F5FF8A#F5FF8A

#F5FF8A is a very light, vivid yellow. Relative luminance 0.928; OKLCH L 96.8% C 0.141 H 113.0°. Best body text is #000000 at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#F5FF8A
RGBrgb(245, 255, 138)
HSLhsl(65, 100%, 77%)
HSVhsv(65, 46%, 100%)
CMYKcmyk(3.9%, 0%, 45.9%, 0%)
CIE-LABlab(97.13, -19.52, 54.45)
CIE-LCHlch(97.13, 57.84, 109.72°)
OKLaboklab(96.85% -0.0553 0.1301)
OKLCHoklch(96.85% 0.141 113)
XYZxyz(78.0048, 92.7687, 37.8368)
Luminance0.9277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FF8A #948AFF
analogous
#FFCE8A #F5FF8A #BBFF8A
triadic
#F5FF8A #8AF5FF #FF8AF5
tetradic
#F5FF8A #8AFFCE #948AFF #FF8ABB
square
#F5FF8A #8AFFCE #948AFF #FF8ABB
split-complementary
#F5FF8A #8ABBFF #CE8AFF
monochromatic
#EBFF10 #F0FF4D #F5FF8A #FAFFC7 #FCFFE0

Accessibility & contrast

On white

1.07
#F5FF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.55
#F5FF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FF8A
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FF8A#FFFFFF#000000##000000
##F5FF8A1.001.0719.5519.55
#FFFFFF1.071.0021.0021.00
#00000019.5521.001.001.00
##00000019.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF580
Deuteranopia (green-blind)
#FFF890
Tritanopia (blue-blind)
#FFF3E4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f5ff8a;
/* rgb */ color: rgb(245, 255, 138);
/* oklch */ color: oklch(96.8% 0.141 113.0);
Tailwind
colors: {
  custom: {
    50: '#faffae',
    500: '#f5ff8a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ff8a;
$custom-light: #faffae;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ff8a",
  "rgb": {
    "r": 245,
    "g": 255,
    "b": 138
  },
  "hsl": {
    "h": 65.128,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.96849,
    "c": 0.14138,
    "h": 113
  },
  "luminance": 0.92767
}

Semantic roles & 50–950 ramp

primary
#F5FF8A
secondary
#5A4EE0
accent
#00E614
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5FF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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