#F0FC76#F0FC76

#F0FC76 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.6% C 0.158 H 113.6°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#F0FC76
RGBrgb(240, 252, 118)
HSLhsl(65, 96%, 73%)
HSVhsv(65, 53%, 99%)
CMYKcmyk(4.8%, 0%, 53.2%, 1.2%)
CIE-LABlab(95.77, -21.76, 61.84)
CIE-LCHlch(95.77, 65.56, 109.38°)
OKLaboklab(95.6% -0.0633 0.1446)
OKLCHoklch(95.6% 0.158 113.6)
XYZxyz(74.0171, 89.4553, 30.5035)
Luminance0.8945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FC76 #8276FC
analogous
#FCC576 #F0FC76 #ADFC76
triadic
#F0FC76 #76F0FC #FC76F0
tetradic
#F0FC76 #76FCC5 #8276FC #FC76AD
square
#F0FC76 #76FCC5 #8276FC #FC76AD
split-complementary
#F0FC76 #76ADFC #C576FC
monochromatic
#DDF205 #E9FB3A #F0FC76 #F7FDB2 #FCFEE1

Accessibility & contrast

On white

1.11
#F0FC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.89
#F0FC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FC76
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FC76#FFFFFF#000000##000000
##F0FC761.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF169
Deuteranopia (green-blind)
#FFF47E
Tritanopia (blue-blind)
#FEEFDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f0fc76;
/* rgb */ color: rgb(240, 252, 118);
/* oklch */ color: oklch(95.6% 0.158 113.6);
Tailwind
colors: {
  custom: {
    50: '#f7fda1',
    500: '#f0fc76',
    950: '#000000',
  },
}
SCSS
$custom: #f0fc76;
$custom-light: #f7fda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fc76",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 118
  },
  "hsl": {
    "h": 65.373,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95599,
    "c": 0.15784,
    "h": 113.6
  },
  "luminance": 0.89454
}

Semantic roles & 50–950 ramp

primary
#F0FC76
secondary
#4B3DD9
accent
#00E615
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0FC76

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

Preview Lab → · Contrast checker → · Palette generator →

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