#F0F96D#F0F96D

#F0F96D is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.9% C 0.162 H 112.5°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#F0F96D
RGBrgb(240, 249, 109)
HSLhsl(64, 92%, 70%)
HSVhsv(64, 56%, 98%)
CMYKcmyk(3.6%, 0%, 56.2%, 2.4%)
CIE-LABlab(94.90, -21.02, 64.77)
CIE-LCHlch(94.90, 68.10, 107.98°)
OKLaboklab(94.88% -0.0621 0.1499)
OKLCHoklch(94.88% 0.162 112.5)
XYZxyz(72.5729, 87.3822, 27.5085)
Luminance0.8738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F96D #766DF9
analogous
#F9BC6D #F0F96D #AAF96D
triadic
#F0F96D #6DF0F9 #F96DF0
tetradic
#F0F96D #6DF9BC #766DF9 #F96DAA
square
#F0F96D #6DF9BC #766DF9 #F96DAA
split-complementary
#F0F96D #6DAAF9 #BC6DF9
monochromatic
#D4E209 #EAF732 #F0F96D #F6FBA8 #FCFEE2

Accessibility & contrast

On white

1.14
#F0F96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#F0F96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F96D
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F96D#FFFFFF#000000##000000
##F0F96D1.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5E
Deuteranopia (green-blind)
#FFF275
Tritanopia (blue-blind)
#FEECDB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f96d;
/* rgb */ color: rgb(240, 249, 109);
/* oklch */ color: oklch(94.9% 0.162 112.5);
Tailwind
colors: {
  custom: {
    50: '#f8fb9b',
    500: '#f0f96d',
    950: '#000000',
  },
}
SCSS
$custom: #f0f96d;
$custom-light: #f8fb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f96d",
  "rgb": {
    "r": 240,
    "g": 249,
    "b": 109
  },
  "hsl": {
    "h": 63.857,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94876,
    "c": 0.16227,
    "h": 112.5
  },
  "luminance": 0.87381
}

Semantic roles & 50–950 ramp

primary
#F0F96D
secondary
#4137D4
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F96D

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

Preview Lab → · Contrast checker → · Palette generator →

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