#F5FA8A#F5FA8A

#F5FA8A is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.136 H 110.9°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#F5FA8A
RGBrgb(245, 250, 138)
HSLhsl(63, 92%, 76%)
HSVhsv(63, 45%, 98%)
CMYKcmyk(2%, 0%, 44.8%, 2%)
CIE-LABlab(95.84, -17.11, 52.87)
CIE-LCHlch(95.84, 55.57, 107.93°)
OKLaboklab(95.82% -0.0485 0.1266)
OKLCHoklch(95.82% 0.136 110.9)
XYZxyz(76.4305, 89.6201, 37.3120)
Luminance0.8962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA8A #8F8AFA
analogous
#FAC78A #F5FA8A #BDFA8A
triadic
#F5FA8A #8AF5FA #FA8AF5
tetradic
#F5FA8A #8AFAC7 #8F8AFA #FA8ABD
square
#F5FA8A #8AFAC7 #8F8AFA #FA8ABD
split-complementary
#F5FA8A #8ABDFA #C78AFA
monochromatic
#EBF515 #F0F74F #F5FA8A #FAFDC5 #FCFEE2

Accessibility & contrast

On white

1.11
#F5FA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.92
#F5FA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA8A
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA8A#FFFFFF#000000##000000
##F5FA8A1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF181
Deuteranopia (green-blind)
#FFF58F
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fa8a;
/* rgb */ color: rgb(245, 250, 138);
/* oklch */ color: oklch(95.8% 0.136 110.9);
Tailwind
colors: {
  custom: {
    50: '#fafbae',
    500: '#f5fa8a',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa8a;
$custom-light: #fafbae;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa8a",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 62.679,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.95816,
    "c": 0.13557,
    "h": 110.9
  },
  "luminance": 0.89619
}

Semantic roles & 50–950 ramp

primary
#F5FA8A
secondary
#564FD9
accent
#00E60A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5FA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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