#F0FC7D#F0FC7D

#F0FC7D is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.7% C 0.151 H 113.7°. Best body text is #000000 at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#F0FC7D
RGBrgb(240, 252, 125)
HSLhsl(66, 95%, 74%)
HSVhsv(66, 50%, 99%)
CMYKcmyk(4.8%, 0%, 50.4%, 1.2%)
CIE-LABlab(95.84, -21.18, 58.79)
CIE-LCHlch(95.84, 62.49, 109.81°)
OKLaboklab(95.68% -0.061 0.1387)
OKLCHoklch(95.68% 0.151 113.7)
XYZxyz(74.4486, 89.6279, 32.7761)
Luminance0.8963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FC7D #897DFC
analogous
#FCC97D #F0FC7D #B1FC7D
triadic
#F0FC7D #7DF0FC #FC7DF0
tetradic
#F0FC7D #7DFCC9 #897DFC #FC7DB1
square
#F0FC7D #7DFCC9 #897DFC #FC7DB1
split-complementary
#F0FC7D #7DB1FC #C97DFC
monochromatic
#E2F906 #E9FB41 #F0FC7D #F7FDB9 #FCFEE1

Accessibility & contrast

On white

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

On black

18.93
#F0FC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FC7D
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FC7D#FFFFFF#000000##000000
##F0FC7D1.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF271
Deuteranopia (green-blind)
#FFF484
Tritanopia (blue-blind)
#FDF0DF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f0fc7d;
/* rgb */ color: rgb(240, 252, 125);
/* oklch */ color: oklch(95.7% 0.151 113.7);
Tailwind
colors: {
  custom: {
    50: '#f7fda6',
    500: '#f0fc7d',
    950: '#000000',
  },
}
SCSS
$custom: #f0fc7d;
$custom-light: #f7fda6;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fc7d",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 125
  },
  "hsl": {
    "h": 65.669,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.9568,
    "c": 0.15147,
    "h": 113.7
  },
  "luminance": 0.89627
}

Semantic roles & 50–950 ramp

primary
#F0FC7D
secondary
#5243DA
accent
#00E616
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #F0FC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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