#F5FA66#F5FA66

#F5FA66 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.4% C 0.168 H 111.0°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#F5FA66
RGBrgb(245, 250, 102)
HSLhsl(62, 94%, 69%)
HSVhsv(62, 59%, 98%)
CMYKcmyk(2%, 0%, 59.2%, 2%)
CIE-LABlab(95.47, -20.01, 68.46)
CIE-LCHlch(95.47, 71.32, 106.30°)
OKLaboklab(95.41% -0.0602 0.1568)
OKLCHoklch(95.41% 0.168 111)
XYZxyz(74.2421, 88.7448, 25.7863)
Luminance0.8874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA66 #6B66FA
analogous
#FAB566 #F5FA66 #ABFA66
triadic
#F5FA66 #66F5FA #FA66F5
tetradic
#F5FA66 #66FAB5 #6B66FA #FA66AB
square
#F5FA66 #66FAB5 #6B66FA #FA66AB
split-complementary
#F5FA66 #66ABFA #B566FA
monochromatic
#D7DE07 #F1F82B #F5FA66 #F9FCA1 #FDFEDD

Accessibility & contrast

On white

1.12
#F5FA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.75
#F5FA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA66
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA66#FFFFFF#000000##000000
##F5FA661.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF055
Deuteranopia (green-blind)
#FFF46F
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5fa66;
/* rgb */ color: rgb(245, 250, 102);
/* oklch */ color: oklch(95.4% 0.168 111.0);
Tailwind
colors: {
  custom: {
    50: '#fbfb97',
    500: '#f5fa66',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa66;
$custom-light: #fbfb97;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa66",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 102
  },
  "hsl": {
    "h": 62.027,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.95407,
    "c": 0.168,
    "h": 111
  },
  "luminance": 0.88743
}

Semantic roles & 50–950 ramp

primary
#F5FA66
secondary
#3630D4
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5FA66

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

Preview Lab → · Contrast checker → · Palette generator →

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