#F0F868#F0F868

#F0F868 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.6% C 0.165 H 112.1°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#F0F868
RGBrgb(240, 248, 104)
HSLhsl(63, 91%, 69%)
HSVhsv(63, 58%, 97%)
CMYKcmyk(3.2%, 0%, 58.1%, 2.7%)
CIE-LABlab(94.59, -20.90, 66.56)
CIE-LCHlch(94.59, 69.76, 107.43°)
OKLaboklab(94.62% -0.0622 0.1531)
OKLCHoklch(94.62% 0.165 112.1)
XYZxyz(72.0031, 86.6611, 26.0283)
Luminance0.8666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F868 #7068F8
analogous
#F8B868 #F0F868 #A8F868
triadic
#F0F868 #68F0F8 #F868F0
tetradic
#F0F868 #68F8B8 #7068F8 #F868A8
square
#F0F868 #68F8B8 #7068F8 #F868A8
split-complementary
#F0F868 #68A8F8 #B868F8
monochromatic
#D0DB0A #EAF52E #F0F868 #F6FBA2 #FCFDDD

Accessibility & contrast

On white

1.15
#F0F868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.33
#F0F868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F868
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F868#FFFFFF#000000##000000
##F0F8681.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE58
Deuteranopia (green-blind)
#FFF171
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f868;
/* rgb */ color: rgb(240, 248, 104);
/* oklch */ color: oklch(94.6% 0.165 112.1);
Tailwind
colors: {
  custom: {
    50: '#f8fa98',
    500: '#f0f868',
    950: '#000000',
  },
}
SCSS
$custom: #f0f868;
$custom-light: #f8fa98;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f868",
  "rgb": {
    "r": 240,
    "g": 248,
    "b": 104
  },
  "hsl": {
    "h": 63.333,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94618,
    "c": 0.16531,
    "h": 112.1
  },
  "luminance": 0.8666
}

Semantic roles & 50–950 ramp

primary
#F0F868
secondary
#3B32D2
accent
#00E60D
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F868

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

Preview Lab → · Contrast checker → · Palette generator →

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