#F0F968#F0F968

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

Color values

HEX#F0F968
RGBrgb(240, 249, 104)
HSLhsl(64, 92%, 69%)
HSVhsv(64, 58%, 98%)
CMYKcmyk(3.6%, 0%, 58.2%, 2.4%)
CIE-LABlab(94.86, -21.38, 66.84)
CIE-LCHlch(94.86, 70.18, 107.74°)
OKLaboklab(94.83% -0.0636 0.1538)
OKLCHoklch(94.83% 0.166 112.5)
XYZxyz(72.3113, 87.2776, 26.1310)
Luminance0.8728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F968 #7168F9
analogous
#F9BA68 #F0F968 #A8F968
triadic
#F0F968 #68F0F9 #F968F0
tetradic
#F0F968 #68F9BA #7168F9 #F968A8
square
#F0F968 #68F9BA #7168F9 #F968A8
split-complementary
#F0F968 #68A8F9 #BA68F9
monochromatic
#D1DE09 #EAF72D #F0F968 #F6FBA3 #FCFEDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F968#FFFFFF#000000##000000
##F0F9681.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)
#FFEE58
Deuteranopia (green-blind)
#FFF271
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f968;
/* rgb */ color: rgb(240, 249, 104);
/* oklch */ color: oklch(94.8% 0.166 112.5);
Tailwind
colors: {
  custom: {
    50: '#f8fb98',
    500: '#f0f968',
    950: '#000000',
  },
}
SCSS
$custom: #f0f968;
$custom-light: #f8fb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f968",
  "rgb": {
    "r": 240,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 63.724,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94827,
    "c": 0.16639,
    "h": 112.5
  },
  "luminance": 0.87276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F968

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

Preview Lab → · Contrast checker → · Palette generator →

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