#F0FE71#F0FE71

#F0FE71 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#F0FE71
RGBrgb(240, 254, 113)
HSLhsl(66, 99%, 72%)
HSVhsv(66, 56%, 100%)
CMYKcmyk(5.5%, 0%, 55.5%, 0.4%)
CIE-LABlab(96.25, -23.10, 64.57)
CIE-LCHlch(96.25, 68.58, 109.69°)
OKLaboklab(95.96% -0.0676 0.1499)
OKLCHoklch(95.96% 0.164 114.3)
XYZxyz(74.3591, 90.6023, 29.1904)
Luminance0.9060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FE71 #7F71FE
analogous
#FEC571 #F0FE71 #AAFE71
triadic
#F0FE71 #71F0FE #FE71F0
tetradic
#F0FE71 #71FEC5 #7F71FE #FE71AA
square
#F0FE71 #71FEC5 #7F71FE #FE71AA
split-complementary
#F0FE71 #71AAFE #C571FE
monochromatic
#DBF302 #EAFE34 #F0FE71 #F6FEAE #FCFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0FE71#FFFFFF#000000##000000
##F0FE711.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)
#FFF362
Deuteranopia (green-blind)
#FFF679
Tritanopia (blue-blind)
#FEF1DF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f0fe71;
/* rgb */ color: rgb(240, 254, 113);
/* oklch */ color: oklch(96.0% 0.164 114.3);
Tailwind
colors: {
  custom: {
    50: '#f7fe9e',
    500: '#f0fe71',
    950: '#000000',
  },
}
SCSS
$custom: #f0fe71;
$custom-light: #f7fe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fe71",
  "rgb": {
    "r": 240,
    "g": 254,
    "b": 113
  },
  "hsl": {
    "h": 65.957,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95964,
    "c": 0.16446,
    "h": 114.3
  },
  "luminance": 0.90601
}

Semantic roles & 50–950 ramp

primary
#F0FE71
secondary
#4939DB
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F0FE71

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

Preview Lab → · Contrast checker → · Palette generator →

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