#F0FA68#F0FA68

#F0FA68 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.0% C 0.167 H 112.8°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#F0FA68
RGBrgb(240, 250, 104)
HSLhsl(64, 94%, 69%)
HSVhsv(64, 58%, 98%)
CMYKcmyk(4%, 0%, 58.4%, 2%)
CIE-LABlab(95.12, -21.86, 67.13)
CIE-LCHlch(95.12, 70.60, 108.03°)
OKLaboklab(95.04% -0.0649 0.1544)
OKLCHoklch(95.04% 0.167 112.8)
XYZxyz(72.6212, 87.8974, 26.2343)
Luminance0.8790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA68 #7268FA
analogous
#FABB68 #F0FA68 #A7FA68
triadic
#F0FA68 #68F0FA #FA68F0
tetradic
#F0FA68 #68FABB #7268FA #FA68A7
square
#F0FA68 #68FABB #7268FA #FA68A7
split-complementary
#F0FA68 #68A7FA #BB68FA
monochromatic
#D1E007 #EAF82D #F0FA68 #F6FCA3 #FCFEDE

Accessibility & contrast

On white

1.13
#F0FA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#F0FA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA68
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA68#FFFFFF#000000##000000
##F0FA681.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF57
Deuteranopia (green-blind)
#FFF371
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa68;
/* rgb */ color: rgb(240, 250, 104);
/* oklch */ color: oklch(95.0% 0.167 112.8);
Tailwind
colors: {
  custom: {
    50: '#f8fb98',
    500: '#f0fa68',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa68;
$custom-light: #f8fb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa68",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 104
  },
  "hsl": {
    "h": 64.11,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.95036,
    "c": 0.16747,
    "h": 112.8
  },
  "luminance": 0.87896
}

Semantic roles & 50–950 ramp

primary
#F0FA68
secondary
#3D32D4
accent
#00E610
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0FA68

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

Preview Lab → · Contrast checker → · Palette generator →

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