#F0FFBA#F0FFBA

#F0FFBA is a very light, moderate yellow-green. Relative luminance 0.936; OKLCH L 97.3% C 0.090 H 118.1°. Best body text is #000000 at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#F0FFBA
RGBrgb(240, 255, 186)
HSLhsl(73, 100%, 86%)
HSVhsv(73, 27%, 100%)
CMYKcmyk(5.9%, 0%, 27.1%, 0%)
CIE-LABlab(97.47, -15.90, 31.42)
CIE-LCHlch(97.47, 35.22, 116.84°)
OKLaboklab(97.25% -0.0422 0.0791)
OKLCHoklch(97.25% 0.09 118.1)
XYZxyz(80.5576, 93.5908, 60.2658)
Luminance0.9359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FFBA #C9BAFF
analogous
#FFECBA #F0FFBA #CEFFBA
triadic
#F0FFBA #BAF0FF #FFBAF0
tetradic
#F0FFBA #BAFFEC #C9BAFF #FFBACE
square
#F0FFBA #BAFFEC #C9BAFF #FFBACE
split-complementary
#F0FFBA #BACEFF #ECBAFF
monochromatic
#D5FF40 #E3FF7D #F0FFBA #F8FFE0 #F8FFE0

Accessibility & contrast

On white

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

On black

19.72
#F0FFBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FFBA
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FFBA#FFFFFF#000000##000000
##F0FFBA1.001.0719.7219.72
#FFFFFF1.071.0021.0021.00
#00000019.7221.001.001.00
##00000019.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8B6
Deuteranopia (green-blind)
#FFF8BD
Tritanopia (blue-blind)
#F7F8ED
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f0ffba;
/* rgb */ color: rgb(240, 255, 186);
/* oklch */ color: oklch(97.3% 0.090 118.1);
Tailwind
colors: {
  custom: {
    50: '#f5ffcf',
    500: '#f0ffba',
    950: '#000000',
  },
}
SCSS
$custom: #f0ffba;
$custom-light: #f5ffcf;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ffba",
  "rgb": {
    "r": 240,
    "g": 255,
    "b": 186
  },
  "hsl": {
    "h": 73.043,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.97251,
    "c": 0.08961,
    "h": 118.1
  },
  "luminance": 0.9359
}

Semantic roles & 50–950 ramp

primary
#F0FFBA
secondary
#8F76E7
accent
#00E632
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171814
muted
#858683

Preview Lab

Preview with #F0FFBA

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

Preview Lab → · Contrast checker → · Palette generator →

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