#F0FE72#F0FE72

#F0FE72 is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.0% C 0.164 H 114.3°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#F0FE72
RGBrgb(240, 254, 114)
HSLhsl(66, 99%, 72%)
HSVhsv(66, 55%, 100%)
CMYKcmyk(5.5%, 0%, 55.1%, 0.4%)
CIE-LABlab(96.26, -23.02, 64.15)
CIE-LCHlch(96.26, 68.15, 109.75°)
OKLaboklab(95.98% -0.0672 0.1491)
OKLCHoklch(95.98% 0.164 114.3)
XYZxyz(74.4157, 90.6250, 29.4885)
Luminance0.9062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FE72 #8072FE
analogous
#FEC672 #F0FE72 #AAFE72
triadic
#F0FE72 #72F0FE #FE72F0
tetradic
#F0FE72 #72FEC6 #8072FE #FE72AA
square
#F0FE72 #72FEC6 #8072FE #FE72AA
split-complementary
#F0FE72 #72AAFE #C672FE
monochromatic
#DCF402 #EAFE35 #F0FE72 #F6FEAF #FCFFE1

Accessibility & contrast

On white

1.10
#F0FE72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.12
#F0FE72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FE72
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FE72#FFFFFF#000000##000000
##F0FE721.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF363
Deuteranopia (green-blind)
#FFF67A
Tritanopia (blue-blind)
#FEF1DF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f0fe72;
/* rgb */ color: rgb(240, 254, 114);
/* oklch */ color: oklch(96.0% 0.164 114.3);
Tailwind
colors: {
  custom: {
    50: '#f7fe9f',
    500: '#f0fe72',
    950: '#000000',
  },
}
SCSS
$custom: #f0fe72;
$custom-light: #f7fe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fe72",
  "rgb": {
    "r": 240,
    "g": 254,
    "b": 114
  },
  "hsl": {
    "h": 66,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95975,
    "c": 0.1636,
    "h": 114.3
  },
  "luminance": 0.90624
}

Semantic roles & 50–950 ramp

primary
#F0FE72
secondary
#4A39DB
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F0FE72

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

Preview Lab → · Contrast checker → · Palette generator →

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