#F0FA7A#F0FA7A

#F0FA7A is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.2% C 0.152 H 113.0°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F0FA7A
RGBrgb(240, 250, 122)
HSLhsl(65, 93%, 73%)
HSVhsv(65, 51%, 98%)
CMYKcmyk(4%, 0%, 51.2%, 2%)
CIE-LABlab(95.29, -20.47, 59.50)
CIE-LCHlch(95.29, 62.92, 108.99°)
OKLaboklab(95.23% -0.0593 0.1399)
OKLCHoklch(95.23% 0.152 113)
XYZxyz(73.6351, 88.3029, 31.5737)
Luminance0.8830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA7A #847AFA
analogous
#FAC47A #F0FA7A #B0FA7A
triadic
#F0FA7A #7AF0FA #FA7AF0
tetradic
#F0FA7A #7AFAC4 #847AFA #FA7AB0
square
#F0FA7A #7AFAC4 #847AFA #FA7AB0
split-complementary
#F0FA7A #7AB0FA #C47AFA
monochromatic
#DEF109 #E9F83F #F0FA7A #F7FCB5 #FCFEE2

Accessibility & contrast

On white

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

On black

18.66
#F0FA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA7A
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA7A#FFFFFF#000000##000000
##F0FA7A1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06E
Deuteranopia (green-blind)
#FFF381
Tritanopia (blue-blind)
#FDEDDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa7a;
/* rgb */ color: rgb(240, 250, 122);
/* oklch */ color: oklch(95.2% 0.152 113.0);
Tailwind
colors: {
  custom: {
    50: '#f7fba4',
    500: '#f0fa7a',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa7a;
$custom-light: #f7fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa7a",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 122
  },
  "hsl": {
    "h": 64.688,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95227,
    "c": 0.15195,
    "h": 113
  },
  "luminance": 0.88302
}

Semantic roles & 50–950 ramp

primary
#F0FA7A
secondary
#4D41D7
accent
#00E612
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0FA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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