#F0FFAF#F0FFAF

#F0FFAF is a very light, moderate yellow-green. Relative luminance 0.931; OKLCH L 97.0% C 0.102 H 117.0°. Best body text is #000000 at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#F0FFAF
RGBrgb(240, 255, 175)
HSLhsl(71, 100%, 84%)
HSVhsv(71, 31%, 100%)
CMYKcmyk(5.9%, 0%, 31.4%, 0%)
CIE-LABlab(97.28, -17.33, 36.67)
CIE-LCHlch(97.28, 40.56, 115.29°)
OKLaboklab(97.05% -0.0465 0.0913)
OKLCHoklch(97.05% 0.102 117)
XYZxyz(79.4329, 93.1409, 54.3425)
Luminance0.9314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FFAF #BEAFFF
analogous
#FFE6AF #F0FFAF #C8FFAF
triadic
#F0FFAF #AFF0FF #FFAFF0
tetradic
#F0FFAF #AFFFE6 #BEAFFF #FFAFC8
square
#F0FFAF #AFFFE6 #BEAFFF #FFAFC8
split-complementary
#F0FFAF #AFC8FF #E6AFFF
monochromatic
#D9FF35 #E5FF72 #F0FFAF #F9FFE0 #F9FFE0

Accessibility & contrast

On white

1.07
#F0FFAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.63
#F0FFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FFAF
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FFAF#FFFFFF#000000##000000
##F0FFAF1.001.0719.6319.63
#FFFFFF1.071.0021.0021.00
#00000019.6321.001.001.00
##00000019.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7AA
Deuteranopia (green-blind)
#FFF8B3
Tritanopia (blue-blind)
#F8F6EA
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f0ffaf;
/* rgb */ color: rgb(240, 255, 175);
/* oklch */ color: oklch(97.0% 0.102 117.0);
Tailwind
colors: {
  custom: {
    50: '#f5ffc7',
    500: '#f0ffaf',
    950: '#000000',
  },
}
SCSS
$custom: #f0ffaf;
$custom-light: #f5ffc7;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ffaf",
  "rgb": {
    "r": 240,
    "g": 255,
    "b": 175
  },
  "hsl": {
    "h": 71.25,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.97046,
    "c": 0.10249,
    "h": 117
  },
  "luminance": 0.9314
}

Semantic roles & 50–950 ramp

primary
#F0FFAF
secondary
#846DE5
accent
#00E62B
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #F0FFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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