#F0F965#F0F965

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

Color values

HEX#F0F965
RGBrgb(240, 249, 101)
HSLhsl(64, 93%, 69%)
HSVhsv(64, 59%, 98%)
CMYKcmyk(3.6%, 0%, 59.4%, 2.4%)
CIE-LABlab(94.83, -21.58, 68.06)
CIE-LCHlch(94.83, 71.40, 107.59°)
OKLaboklab(94.8% -0.0645 0.156)
OKLCHoklch(94.8% 0.169 112.5)
XYZxyz(72.1617, 87.2177, 25.3428)
Luminance0.8722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F965 #6E65F9
analogous
#F9B865 #F0F965 #A6F965
triadic
#F0F965 #65F0F9 #F965F0
tetradic
#F0F965 #65F9B8 #6E65F9 #F965A6
square
#F0F965 #65F9B8 #6E65F9 #F965A6
split-complementary
#F0F965 #65A6F9 #B865F9
monochromatic
#CEDB09 #EAF72A #F0F965 #F6FBA0 #FBFEDB

Accessibility & contrast

On white

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

On black

18.44
#F0F965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F965
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F965#FFFFFF#000000##000000
##F0F9651.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f965;
/* rgb */ color: rgb(240, 249, 101);
/* oklch */ color: oklch(94.8% 0.169 112.5);
Tailwind
colors: {
  custom: {
    50: '#f8fb96',
    500: '#f0f965',
    950: '#000000',
  },
}
SCSS
$custom: #f0f965;
$custom-light: #f8fb96;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f965",
  "rgb": {
    "r": 240,
    "g": 249,
    "b": 101
  },
  "hsl": {
    "h": 63.649,
    "s": 92.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94798,
    "c": 0.16877,
    "h": 112.5
  },
  "luminance": 0.87216
}

Semantic roles & 50–950 ramp

primary
#F0F965
secondary
#3930D3
accent
#00E60E
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F965

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

Preview Lab → · Contrast checker → · Palette generator →

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