#F0FC78#F0FC78

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

Color values

HEX#F0FC78
RGBrgb(240, 252, 120)
HSLhsl(65, 96%, 73%)
HSVhsv(65, 52%, 99%)
CMYKcmyk(4.8%, 0%, 52.4%, 1.2%)
CIE-LABlab(95.79, -21.60, 60.98)
CIE-LCHlch(95.79, 64.69, 109.50°)
OKLaboklab(95.62% -0.0626 0.1429)
OKLCHoklch(95.62% 0.156 113.7)
XYZxyz(74.1372, 89.5034, 31.1361)
Luminance0.8950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FC78 #8478FC
analogous
#FCC678 #F0FC78 #AEFC78
triadic
#F0FC78 #78F0FC #FC78F0
tetradic
#F0FC78 #78FCC6 #8478FC #FC78AE
square
#F0FC78 #78FCC6 #8478FC #FC78AE
split-complementary
#F0FC78 #78AEFC #C678FC
monochromatic
#DEF405 #E9FB3C #F0FC78 #F7FDB4 #FCFEE1

Accessibility & contrast

On white

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

On black

18.90
#F0FC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FC78
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FC78#FFFFFF#000000##000000
##F0FC781.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26B
Deuteranopia (green-blind)
#FFF47F
Tritanopia (blue-blind)
#FDEFDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f0fc78;
/* rgb */ color: rgb(240, 252, 120);
/* oklch */ color: oklch(95.6% 0.156 113.7);
Tailwind
colors: {
  custom: {
    50: '#f7fda2',
    500: '#f0fc78',
    950: '#000000',
  },
}
SCSS
$custom: #f0fc78;
$custom-light: #f7fda2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fc78",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 65.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95622,
    "c": 0.15606,
    "h": 113.7
  },
  "luminance": 0.89502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0FC78

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

Preview Lab → · Contrast checker → · Palette generator →

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