#F0FC74#F0FC74

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

Color values

HEX#F0FC74
RGBrgb(240, 252, 116)
HSLhsl(65, 96%, 72%)
HSVhsv(65, 54%, 99%)
CMYKcmyk(4.8%, 0%, 54%, 1.2%)
CIE-LABlab(95.75, -21.92, 62.70)
CIE-LCHlch(95.75, 66.42, 109.27°)
OKLaboklab(95.58% -0.0639 0.1463)
OKLCHoklch(95.58% 0.16 113.6)
XYZxyz(73.8995, 89.4083, 29.8842)
Luminance0.8941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FC74 #8074FC
analogous
#FCC474 #F0FC74 #ACFC74
triadic
#F0FC74 #74F0FC #FC74F0
tetradic
#F0FC74 #74FCC4 #8074FC #FC74AC
square
#F0FC74 #74FCC4 #8074FC #FC74AC
split-complementary
#F0FC74 #74ACFC #C474FC
monochromatic
#DCF005 #EAFB38 #F0FC74 #F6FDB0 #FCFEE1

Accessibility & contrast

On white

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

On black

18.88
#F0FC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FC74
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FC74#FFFFFF#000000##000000
##F0FC741.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0fc74;
/* rgb */ color: rgb(240, 252, 116);
/* oklch */ color: oklch(95.6% 0.160 113.6);
Tailwind
colors: {
  custom: {
    50: '#f7fda0',
    500: '#f0fc74',
    950: '#000000',
  },
}
SCSS
$custom: #f0fc74;
$custom-light: #f7fda0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fc74",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 116
  },
  "hsl": {
    "h": 65.294,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95577,
    "c": 0.15961,
    "h": 113.6
  },
  "luminance": 0.89407
}

Semantic roles & 50–950 ramp

primary
#F0FC74
secondary
#4A3CD8
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #F0FC74

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

Preview Lab → · Contrast checker → · Palette generator →

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