#F0FAB9#F0FAB9

#F0FAB9 is a very light, moderate yellow. Relative luminance 0.904; OKLCH L 96.2% C 0.084 H 115.1°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#F0FAB9
RGBrgb(240, 250, 185)
HSLhsl(69, 87%, 85%)
HSVhsv(69, 26%, 98%)
CMYKcmyk(4%, 0%, 26%, 2%)
CIE-LABlab(96.16, -13.59, 30.16)
CIE-LCHlch(96.16, 33.08, 114.26°)
OKLaboklab(96.21% -0.0356 0.076)
OKLCHoklch(96.21% 0.084 115.1)
XYZxyz(78.8773, 90.3998, 59.1831)
Luminance0.9040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FAB9 #C3B9FA
analogous
#FAE4B9 #F0FAB9 #CFFAB9
triadic
#F0FAB9 #B9F0FA #FAB9F0
tetradic
#F0FAB9 #B9FAE4 #C3B9FA #FAB9CF
square
#F0FAB9 #B9FAE4 #C3B9FA #FAB9CF
split-complementary
#F0FAB9 #B9CFFA #E4B9FA
monochromatic
#D8F247 #E4F680 #F0FAB9 #F9FDE2 #F9FDE2

Accessibility & contrast

On white

1.10
#F0FAB9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.08
#F0FAB9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FAB9
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FAB9#FFFFFF#000000##000000
##F0FAB91.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3B5
Deuteranopia (green-blind)
#FFF5BC
Tritanopia (blue-blind)
#F7F3E9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f0fab9;
/* rgb */ color: rgb(240, 250, 185);
/* oklch */ color: oklch(96.2% 0.084 115.1);
Tailwind
colors: {
  custom: {
    50: '#f5fcce',
    500: '#f0fab9',
    950: '#000000',
  },
}
SCSS
$custom: #f0fab9;
$custom-light: #f5fcce;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fab9",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 185
  },
  "hsl": {
    "h": 69.231,
    "s": 86.667,
    "l": 85.294
  },
  "oklch": {
    "l": 0.96209,
    "c": 0.08396,
    "h": 115.1
  },
  "luminance": 0.90399
}

Semantic roles & 50–950 ramp

primary
#F0FAB9
secondary
#8979DE
accent
#02E325
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171713
muted
#858583

Preview Lab

Preview with #F0FAB9

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

Preview Lab → · Contrast checker → · Palette generator →

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