#F0F96A#F0F96A

#F0F96A is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.8% C 0.165 H 112.5°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#F0F96A
RGBrgb(240, 249, 106)
HSLhsl(64, 92%, 70%)
HSVhsv(64, 57%, 98%)
CMYKcmyk(3.6%, 0%, 57.4%, 2.4%)
CIE-LABlab(94.87, -21.24, 66.02)
CIE-LCHlch(94.87, 69.35, 107.83°)
OKLaboklab(94.85% -0.063 0.1523)
OKLCHoklch(94.85% 0.165 112.5)
XYZxyz(72.4141, 87.3187, 26.6724)
Luminance0.8732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F96A #736AF9
analogous
#F9BA6A #F0F96A #A9F96A
triadic
#F0F96A #6AF0F9 #F96AF0
tetradic
#F0F96A #6AF9BA #736AF9 #F96AA9
square
#F0F96A #6AF9BA #736AF9 #F96AA9
split-complementary
#F0F96A #6AA9F9 #BA6AF9
monochromatic
#D2E009 #EAF72F #F0F96A #F6FBA5 #FCFEE0

Accessibility & contrast

On white

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

On black

18.46
#F0F96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F96A
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F96A#FFFFFF#000000##000000
##F0F96A1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5A
Deuteranopia (green-blind)
#FFF273
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f96a;
/* rgb */ color: rgb(240, 249, 106);
/* oklch */ color: oklch(94.8% 0.165 112.5);
Tailwind
colors: {
  custom: {
    50: '#f8fb9a',
    500: '#f0f96a',
    950: '#000000',
  },
}
SCSS
$custom: #f0f96a;
$custom-light: #f8fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f96a",
  "rgb": {
    "r": 240,
    "g": 249,
    "b": 106
  },
  "hsl": {
    "h": 63.776,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94846,
    "c": 0.16477,
    "h": 112.5
  },
  "luminance": 0.87317
}

Semantic roles & 50–950 ramp

primary
#F0F96A
secondary
#3E34D3
accent
#00E60E
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F96A

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

Preview Lab → · Contrast checker → · Palette generator →

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