#F5F96F#F5F96F

#F5F96F is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.3% C 0.160 H 110.6°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F5F96F
RGBrgb(245, 249, 111)
HSLhsl(62, 92%, 71%)
HSVhsv(62, 55%, 98%)
CMYKcmyk(1.6%, 0%, 55.4%, 2.4%)
CIE-LABlab(95.29, -18.90, 64.46)
CIE-LCHlch(95.29, 67.17, 106.34°)
OKLaboklab(95.29% -0.0562 0.1494)
OKLCHoklch(95.29% 0.16 110.6)
XYZxyz(74.4030, 88.3133, 28.1626)
Luminance0.8831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F96F #736FF9
analogous
#F9B86F #F5F96F #B0F96F
triadic
#F5F96F #6FF5F9 #F96FF5
tetradic
#F5F96F #6FF9B8 #736FF9 #F96FB0
square
#F5F96F #6FF9B8 #736FF9 #F96FB0
split-complementary
#F5F96F #6FB0F9 #B86FF9
monochromatic
#DEE40A #F1F734 #F5F96F #F9FBAA #FDFEE2

Accessibility & contrast

On white

1.13
#F5F96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#F5F96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F96F
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F96F#FFFFFF#000000##000000
##F5F96F1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF60
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f96f;
/* rgb */ color: rgb(245, 249, 111);
/* oklch */ color: oklch(95.3% 0.160 110.6);
Tailwind
colors: {
  custom: {
    50: '#fbfb9d',
    500: '#f5f96f',
    950: '#000000',
  },
}
SCSS
$custom: #f5f96f;
$custom-light: #fbfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f96f",
  "rgb": {
    "r": 245,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 61.739,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95288,
    "c": 0.1596,
    "h": 110.6
  },
  "luminance": 0.88312
}

Semantic roles & 50–950 ramp

primary
#F5F96F
secondary
#3D38D4
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F96F

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

Preview Lab → · Contrast checker → · Palette generator →

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