#F0FFCA#F0FFCA

#F0FFCA is a very light, moderate yellow-green. Relative luminance 0.943; OKLCH L 97.6% C 0.070 H 120.5°. Best body text is #000000 at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#F0FFCA
RGBrgb(240, 255, 202)
HSLhsl(77, 100%, 90%)
HSVhsv(77, 21%, 100%)
CMYKcmyk(5.9%, 0%, 20.8%, 0%)
CIE-LABlab(97.76, -13.66, 23.74)
CIE-LCHlch(97.76, 27.39, 119.91°)
OKLaboklab(97.58% -0.0358 0.0606)
OKLCHoklch(97.58% 0.07 120.5)
XYZxyz(82.3547, 94.3096, 69.7306)
Luminance0.9431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FFCA #D9CAFF
analogous
#FFF4CA #F0FFCA #D6FFCA
triadic
#F0FFCA #CAF0FF #FFCAF0
tetradic
#F0FFCA #CAFFF4 #D9CAFF #FFCAD6
square
#F0FFCA #CAFFF4 #D9CAFF #FFCAD6
split-complementary
#F0FFCA #CAD6FF #F4CAFF
monochromatic
#CDFF50 #DFFF8D #F0FFCA #F6FFE0 #F6FFE0

Accessibility & contrast

On white

1.06
#F0FFCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.86
#F0FFCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FFCA
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FFCA#FFFFFF#000000##000000
##F0FFCA1.001.0619.8619.86
#FFFFFF1.061.0021.0021.00
#00000019.8621.001.001.00
##00000019.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9C7
Deuteranopia (green-blind)
#FFF9CC
Tritanopia (blue-blind)
#F5F9F0
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #f0ffca;
/* rgb */ color: rgb(240, 255, 202);
/* oklch */ color: oklch(97.6% 0.070 120.5);
Tailwind
colors: {
  custom: {
    50: '#f5ffda',
    500: '#f0ffca',
    950: '#000000',
  },
}
SCSS
$custom: #f0ffca;
$custom-light: #f5ffda;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ffca",
  "rgb": {
    "r": 240,
    "g": 255,
    "b": 202
  },
  "hsl": {
    "h": 76.981,
    "s": 100,
    "l": 89.608
  },
  "oklch": {
    "l": 0.97577,
    "c": 0.07036,
    "h": 120.5
  },
  "luminance": 0.9431
}

Semantic roles & 50–950 ramp

primary
#F0FFCA
secondary
#A184E9
accent
#00E641
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171814
muted
#858683

Preview Lab

Preview with #F0FFCA

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

Preview Lab → · Contrast checker → · Palette generator →

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