#F5FA8B#F5FA8B

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

Color values

HEX#F5FA8B
RGBrgb(245, 250, 139)
HSLhsl(63, 92%, 76%)
HSVhsv(63, 44%, 98%)
CMYKcmyk(2%, 0%, 44.4%, 2%)
CIE-LABlab(95.85, -17.01, 52.41)
CIE-LCHlch(95.85, 55.10, 107.98°)
OKLaboklab(95.83% -0.0481 0.1257)
OKLCHoklch(95.83% 0.135 110.9)
XYZxyz(76.5032, 89.6492, 37.6950)
Luminance0.8965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA8B #908BFA
analogous
#FAC88B #F5FA8B #BEFA8B
triadic
#F5FA8B #8BF5FA #FA8BF5
tetradic
#F5FA8B #8BFAC8 #908BFA #FA8BBE
square
#F5FA8B #8BFAC8 #908BFA #FA8BBE
split-complementary
#F5FA8B #8BBEFA #C88BFA
monochromatic
#EBF516 #F0F750 #F5FA8B #FAFDC6 #FCFEE2

Accessibility & contrast

On white

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

On black

18.93
#F5FA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA8B
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA8B#FFFFFF#000000##000000
##F5FA8B1.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5fa8b;
/* rgb */ color: rgb(245, 250, 139);
/* oklch */ color: oklch(95.8% 0.135 110.9);
Tailwind
colors: {
  custom: {
    50: '#fafbaf',
    500: '#f5fa8b',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa8b;
$custom-light: #fafbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa8b",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 139
  },
  "hsl": {
    "h": 62.703,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.9583,
    "c": 0.13455,
    "h": 110.9
  },
  "luminance": 0.89648
}

Semantic roles & 50–950 ramp

primary
#F5FA8B
secondary
#5650D9
accent
#00E60A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5FA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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