#F0F96E#F0F96E

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

Color values

HEX#F0F96E
RGBrgb(240, 249, 110)
HSLhsl(64, 92%, 70%)
HSVhsv(64, 56%, 98%)
CMYKcmyk(3.6%, 0%, 55.8%, 2.4%)
CIE-LABlab(94.91, -20.95, 64.35)
CIE-LCHlch(94.91, 67.68, 108.03°)
OKLaboklab(94.89% -0.0618 0.1492)
OKLCHoklch(94.89% 0.161 112.5)
XYZxyz(72.6270, 87.4039, 27.7936)
Luminance0.8740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F96E #776EF9
analogous
#F9BC6E #F0F96E #AAF96E
triadic
#F0F96E #6EF0F9 #F96EF0
tetradic
#F0F96E #6EF9BC #776EF9 #F96EAA
square
#F0F96E #6EF9BC #776EF9 #F96EAA
split-complementary
#F0F96E #6EAAF9 #BC6EF9
monochromatic
#D5E309 #EAF733 #F0F96E #F6FBA9 #FCFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F96E#FFFFFF#000000##000000
##F0F96E1.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)
#FFEF5F
Deuteranopia (green-blind)
#FFF276
Tritanopia (blue-blind)
#FEECDB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f96e;
/* rgb */ color: rgb(240, 249, 110);
/* oklch */ color: oklch(94.9% 0.161 112.5);
Tailwind
colors: {
  custom: {
    50: '#f8fb9c',
    500: '#f0f96e',
    950: '#000000',
  },
}
SCSS
$custom: #f0f96e;
$custom-light: #f8fb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f96e",
  "rgb": {
    "r": 240,
    "g": 249,
    "b": 110
  },
  "hsl": {
    "h": 63.885,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94887,
    "c": 0.16143,
    "h": 112.5
  },
  "luminance": 0.87402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F96E

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

Preview Lab → · Contrast checker → · Palette generator →

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