#F0FA72#F0FA72

#F0FA72 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.1% C 0.159 H 112.9°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#F0FA72
RGBrgb(240, 250, 114)
HSLhsl(64, 93%, 71%)
HSVhsv(64, 54%, 98%)
CMYKcmyk(4%, 0%, 54.4%, 2%)
CIE-LABlab(95.21, -21.12, 62.96)
CIE-LCHlch(95.21, 66.40, 108.54°)
OKLaboklab(95.14% -0.0619 0.1466)
OKLCHoklch(95.14% 0.159 112.9)
XYZxyz(73.1596, 88.1127, 29.0698)
Luminance0.8811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA72 #7C72FA
analogous
#FAC072 #F0FA72 #ACFA72
triadic
#F0FA72 #72F0FA #FA72F0
tetradic
#F0FA72 #72FAC0 #7C72FA #FA72AC
square
#F0FA72 #72FAC0 #7C72FA #FA72AC
split-complementary
#F0FA72 #72ACFA #C072FA
monochromatic
#D9E908 #EAF837 #F0FA72 #F6FCAD #FCFEE1

Accessibility & contrast

On white

1.13
#F0FA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.62
#F0FA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA72
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA72#FFFFFF#000000##000000
##F0FA721.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF064
Deuteranopia (green-blind)
#FFF37A
Tritanopia (blue-blind)
#FEEDDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa72;
/* rgb */ color: rgb(240, 250, 114);
/* oklch */ color: oklch(95.1% 0.159 112.9);
Tailwind
colors: {
  custom: {
    50: '#f7fb9f',
    500: '#f0fa72',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa72;
$custom-light: #f7fb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa72",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 64.412,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95138,
    "c": 0.15911,
    "h": 112.9
  },
  "luminance": 0.88111
}

Semantic roles & 50–950 ramp

primary
#F0FA72
secondary
#463BD6
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F0FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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