#F5FA6B#F5FA6B

#F5FA6B is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.5% C 0.164 H 111.0°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#F5FA6B
RGBrgb(245, 250, 107)
HSLhsl(62, 93%, 70%)
HSVhsv(62, 57%, 98%)
CMYKcmyk(2%, 0%, 57.2%, 2%)
CIE-LABlab(95.52, -19.67, 66.41)
CIE-LCHlch(95.52, 69.27, 106.50°)
OKLaboklab(95.46% -0.0587 0.1531)
OKLCHoklch(95.46% 0.164 111)
XYZxyz(74.4976, 88.8469, 27.1319)
Luminance0.8884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA6B #706BFA
analogous
#FAB86B #F5FA6B #ADFA6B
triadic
#F5FA6B #6BF5FA #FA6BF5
tetradic
#F5FA6B #6BFAB8 #706BFA #FA6BAD
square
#F5FA6B #6BFAB8 #706BFA #FA6BAD
split-complementary
#F5FA6B #6BADFA #B86BFA
monochromatic
#DBE308 #F1F830 #F5FA6B #F9FCA6 #FDFEE1

Accessibility & contrast

On white

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

On black

18.77
#F5FA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA6B
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA6B#FFFFFF#000000##000000
##F5FA6B1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5fa6b;
/* rgb */ color: rgb(245, 250, 107);
/* oklch */ color: oklch(95.5% 0.164 111.0);
Tailwind
colors: {
  custom: {
    50: '#fbfb9a',
    500: '#f5fa6b',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa6b;
$custom-light: #fbfb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa6b",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 107
  },
  "hsl": {
    "h": 62.098,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.95455,
    "c": 0.16399,
    "h": 111
  },
  "luminance": 0.88845
}

Semantic roles & 50–950 ramp

primary
#F5FA6B
secondary
#3A35D5
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5FA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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