#F0FAC2#F0FAC2

#F0FAC2 is a very light, moderate yellow-green. Relative luminance 0.908; OKLCH L 96.4% C 0.073 H 116.0°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#F0FAC2
RGBrgb(240, 250, 194)
HSLhsl(71, 85%, 87%)
HSVhsv(71, 22%, 98%)
CMYKcmyk(4%, 0%, 22.4%, 2%)
CIE-LABlab(96.32, -12.35, 25.83)
CIE-LCHlch(96.32, 28.63, 115.56°)
OKLaboklab(96.39% -0.032 0.0656)
OKLCHoklch(96.39% 0.073 116)
XYZxyz(79.8576, 90.7920, 64.3461)
Luminance0.9079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FAC2 #CCC2FA
analogous
#FAE8C2 #F0FAC2 #D4FAC2
triadic
#F0FAC2 #C2F0FA #FAC2F0
tetradic
#F0FAC2 #C2FAE8 #CCC2FA #FAC2D4
square
#F0FAC2 #C2FAE8 #CCC2FA #FAC2D4
split-complementary
#F0FAC2 #C2D4FA #E8C2FA
monochromatic
#D4F151 #E2F589 #F0FAC2 #F8FDE3 #F8FDE3

Accessibility & contrast

On white

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

On black

19.16
#F0FAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FAC2
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FAC2#FFFFFF#000000##000000
##F0FAC21.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4BF
Deuteranopia (green-blind)
#FFF5C4
Tritanopia (blue-blind)
#F6F4EB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f0fac2;
/* rgb */ color: rgb(240, 250, 194);
/* oklch */ color: oklch(96.4% 0.073 116.0);
Tailwind
colors: {
  custom: {
    50: '#f5fcd4',
    500: '#f0fac2',
    950: '#000000',
  },
}
SCSS
$custom: #f0fac2;
$custom-light: #f5fcd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fac2",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 70.714,
    "s": 84.848,
    "l": 87.059
  },
  "oklch": {
    "l": 0.9639,
    "c": 0.07304,
    "h": 116
  },
  "luminance": 0.90792
}

Semantic roles & 50–950 ramp

primary
#F0FAC2
secondary
#9281DF
accent
#04E12C
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #F0FAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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