#F0FEAF#F0FEAF

#F0FEAF is a very light, moderate yellow-green. Relative luminance 0.925; OKLCH L 96.8% C 0.101 H 116.5°. Best body text is #000000 at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#F0FEAF
RGBrgb(240, 254, 175)
HSLhsl(71, 98%, 84%)
HSVhsv(71, 31%, 100%)
CMYKcmyk(5.5%, 0%, 31.1%, 0.4%)
CIE-LABlab(97.03, -16.84, 36.33)
CIE-LCHlch(97.03, 40.05, 114.87°)
OKLaboklab(96.84% -0.0451 0.0905)
OKLCHoklch(96.84% 0.101 116.5)
XYZxyz(79.1147, 92.5046, 54.2365)
Luminance0.9250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FEAF #BDAFFE
analogous
#FEE5AF #F0FEAF #C9FEAF
triadic
#F0FEAF #AFF0FE #FEAFF0
tetradic
#F0FEAF #AFFEE5 #BDAFFE #FEAFC9
square
#F0FEAF #AFFEE5 #BDAFFE #FEAFC9
split-complementary
#F0FEAF #AFC9FE #E5AFFE
monochromatic
#D9FC36 #E5FD73 #F0FEAF #F9FFE1 #F9FFE1

Accessibility & contrast

On white

1.08
#F0FEAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.50
#F0FEAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FEAF
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FEAF#FFFFFF#000000##000000
##F0FEAF1.001.0819.5019.50
#FFFFFF1.081.0021.0021.00
#00000019.5021.001.001.00
##00000019.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6AA
Deuteranopia (green-blind)
#FFF7B2
Tritanopia (blue-blind)
#F8F6EA
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f0feaf;
/* rgb */ color: rgb(240, 254, 175);
/* oklch */ color: oklch(96.8% 0.101 116.5);
Tailwind
colors: {
  custom: {
    50: '#f5fec7',
    500: '#f0feaf',
    950: '#000000',
  },
}
SCSS
$custom: #f0feaf;
$custom-light: #f5fec7;
$custom-dark: #000000;
JSON
{
  "hex": "#f0feaf",
  "rgb": {
    "r": 240,
    "g": 254,
    "b": 175
  },
  "hsl": {
    "h": 70.633,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.96841,
    "c": 0.10115,
    "h": 116.5
  },
  "luminance": 0.92504
}

Semantic roles & 50–950 ramp

primary
#F0FEAF
secondary
#836EE4
accent
#00E629
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #F0FEAF

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

Preview Lab → · Contrast checker → · Palette generator →

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