#F5F96C#F5F96C

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

Color values

HEX#F5F96C
RGBrgb(245, 249, 108)
HSLhsl(62, 92%, 70%)
HSVhsv(62, 57%, 98%)
CMYKcmyk(1.6%, 0%, 56.6%, 2.4%)
CIE-LABlab(95.27, -19.12, 65.71)
CIE-LCHlch(95.27, 68.44, 106.22°)
OKLaboklab(95.26% -0.0571 0.1517)
OKLCHoklch(95.26% 0.162 110.6)
XYZxyz(74.2406, 88.2483, 27.3073)
Luminance0.8825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F96C #706CF9
analogous
#F9B66C #F5F96C #AFF96C
triadic
#F5F96C #6CF5F9 #F96CF5
tetradic
#F5F96C #6CF9B6 #706CF9 #F96CAF
square
#F5F96C #6CF9B6 #706CF9 #F96CAF
split-complementary
#F5F96C #6CAFF9 #B66CF9
monochromatic
#DBE109 #F1F731 #F5F96C #F9FBA7 #FDFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F96C#FFFFFF#000000##000000
##F5F96C1.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)
#FFEF5D
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f96c;
/* rgb */ color: rgb(245, 249, 108);
/* oklch */ color: oklch(95.3% 0.162 110.6);
Tailwind
colors: {
  custom: {
    50: '#fbfb9b',
    500: '#f5f96c',
    950: '#000000',
  },
}
SCSS
$custom: #f5f96c;
$custom-light: #fbfb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f96c",
  "rgb": {
    "r": 245,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 61.702,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.95257,
    "c": 0.16211,
    "h": 110.6
  },
  "luminance": 0.88247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F96C

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

Preview Lab → · Contrast checker → · Palette generator →

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