#F5F96D#F5F96D

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

Color values

HEX#F5F96D
RGBrgb(245, 249, 109)
HSLhsl(62, 92%, 70%)
HSVhsv(62, 56%, 98%)
CMYKcmyk(1.6%, 0%, 56.2%, 2.4%)
CIE-LABlab(95.27, -19.05, 65.29)
CIE-LCHlch(95.27, 68.02, 106.26°)
OKLaboklab(95.27% -0.0568 0.151)
OKLCHoklch(95.27% 0.161 110.6)
XYZxyz(74.2941, 88.2697, 27.5891)
Luminance0.8827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F96D #716DF9
analogous
#F9B76D #F5F96D #AFF96D
triadic
#F5F96D #6DF5F9 #F96DF5
tetradic
#F5F96D #6DF9B7 #716DF9 #F96DAF
square
#F5F96D #6DF9B7 #716DF9 #F96DAF
split-complementary
#F5F96D #6DAFF9 #B76DF9
monochromatic
#DCE209 #F1F732 #F5F96D #F9FBA8 #FDFEE2

Accessibility & contrast

On white

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

On black

18.65
#F5F96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F96D
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F96D#FFFFFF#000000##000000
##F5F96D1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f96d;
/* rgb */ color: rgb(245, 249, 109);
/* oklch */ color: oklch(95.3% 0.161 110.6);
Tailwind
colors: {
  custom: {
    50: '#fbfb9b',
    500: '#f5f96d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f96d;
$custom-light: #fbfb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f96d",
  "rgb": {
    "r": 245,
    "g": 249,
    "b": 109
  },
  "hsl": {
    "h": 61.714,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95267,
    "c": 0.16128,
    "h": 110.6
  },
  "luminance": 0.88268
}

Semantic roles & 50–950 ramp

primary
#F5F96D
secondary
#3B37D4
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F96D

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

Preview Lab → · Contrast checker → · Palette generator →

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