#F5FA7B#F5FA7B

#F5FA7B is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.6% C 0.150 H 111.0°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#F5FA7B
RGBrgb(245, 250, 123)
HSLhsl(62, 93%, 73%)
HSVhsv(62, 51%, 98%)
CMYKcmyk(2%, 0%, 50.8%, 2%)
CIE-LABlab(95.67, -18.44, 59.59)
CIE-LCHlch(95.67, 62.38, 107.20°)
OKLaboklab(95.63% -0.0537 0.1401)
OKLCHoklch(95.63% 0.15 111)
XYZxyz(75.4186, 89.2153, 31.9824)
Luminance0.8921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA7B #807BFA
analogous
#FABF7B #F5FA7B #B5FA7B
triadic
#F5FA7B #7BF5FA #FA7BF5
tetradic
#F5FA7B #7BFABF #807BFA #FA7BB5
square
#F5FA7B #7BFABF #807BFA #FA7BB5
split-complementary
#F5FA7B #7BB5FA #BF7BFA
monochromatic
#E8F109 #F1F840 #F5FA7B #F9FCB6 #FDFEE2

Accessibility & contrast

On white

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

On black

18.84
#F5FA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA7B
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA7B#FFFFFF#000000##000000
##F5FA7B1.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16F
Deuteranopia (green-blind)
#FFF482
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fa7b;
/* rgb */ color: rgb(245, 250, 123);
/* oklch */ color: oklch(95.6% 0.150 111.0);
Tailwind
colors: {
  custom: {
    50: '#fbfba4',
    500: '#f5fa7b',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa7b;
$custom-light: #fbfba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa7b",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 62.362,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95627,
    "c": 0.15006,
    "h": 111
  },
  "luminance": 0.89214
}

Semantic roles & 50–950 ramp

primary
#F5FA7B
secondary
#4842D7
accent
#00E609
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5FA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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