#F0F96C#F0F96C

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

Color values

HEX#F0F96C
RGBrgb(240, 249, 108)
HSLhsl(64, 92%, 70%)
HSVhsv(64, 57%, 98%)
CMYKcmyk(3.6%, 0%, 56.6%, 2.4%)
CIE-LABlab(94.89, -21.09, 65.19)
CIE-LCHlch(94.89, 68.52, 107.93°)
OKLaboklab(94.87% -0.0624 0.1507)
OKLCHoklch(94.87% 0.163 112.5)
XYZxyz(72.5193, 87.3608, 27.2266)
Luminance0.8736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F96C #756CF9
analogous
#F9BC6C #F0F96C #A9F96C
triadic
#F0F96C #6CF0F9 #F96CF0
tetradic
#F0F96C #6CF9BC #756CF9 #F96CA9
square
#F0F96C #6CF9BC #756CF9 #F96CA9
split-complementary
#F0F96C #6CA9F9 #BC6CF9
monochromatic
#D4E109 #EAF731 #F0F96C #F6FBA7 #FCFEE2

Accessibility & contrast

On white

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

On black

18.47
#F0F96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F96C
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F96C#FFFFFF#000000##000000
##F0F96C1.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5D
Deuteranopia (green-blind)
#FFF274
Tritanopia (blue-blind)
#FEECDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f96c;
/* rgb */ color: rgb(240, 249, 108);
/* oklch */ color: oklch(94.9% 0.163 112.5);
Tailwind
colors: {
  custom: {
    50: '#f8fb9b',
    500: '#f0f96c',
    950: '#000000',
  },
}
SCSS
$custom: #f0f96c;
$custom-light: #f8fb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f96c",
  "rgb": {
    "r": 240,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 63.83,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.94866,
    "c": 0.16311,
    "h": 112.5
  },
  "luminance": 0.87359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F96C

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

Preview Lab → · Contrast checker → · Palette generator →

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