#F5F96E#F5F96E

#F5F96E 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#F5F96E
RGBrgb(245, 249, 110)
HSLhsl(62, 92%, 70%)
HSVhsv(62, 56%, 98%)
CMYKcmyk(1.6%, 0%, 55.8%, 2.4%)
CIE-LABlab(95.28, -18.97, 64.88)
CIE-LCHlch(95.28, 67.59, 106.30°)
OKLaboklab(95.28% -0.0565 0.1502)
OKLCHoklch(95.28% 0.16 110.6)
XYZxyz(74.3483, 88.2914, 27.8743)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F96E #726EF9
analogous
#F9B86E #F5F96E #AFF96E
triadic
#F5F96E #6EF5F9 #F96EF5
tetradic
#F5F96E #6EF9B8 #726EF9 #F96EAF
square
#F5F96E #6EF9B8 #726EF9 #F96EAF
split-complementary
#F5F96E #6EAFF9 #B86EF9
monochromatic
#DDE309 #F1F733 #F5F96E #F9FBA9 #FDFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F96E#FFFFFF#000000##000000
##F5F96E1.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)
#FFEF5F
Deuteranopia (green-blind)
#FFF376
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f96e;
/* rgb */ color: rgb(245, 249, 110);
/* oklch */ color: oklch(95.3% 0.160 110.6);
Tailwind
colors: {
  custom: {
    50: '#fbfb9c',
    500: '#f5f96e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f96e;
$custom-light: #fbfb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f96e",
  "rgb": {
    "r": 245,
    "g": 249,
    "b": 110
  },
  "hsl": {
    "h": 61.727,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95277,
    "c": 0.16044,
    "h": 110.6
  },
  "luminance": 0.8829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F96E

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

Preview Lab → · Contrast checker → · Palette generator →

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