#F2F5EC#F2F5EC

#F2F5EC is a very light, near-neutral yellow-green. Relative luminance 0.902; OKLCH L 96.5% C 0.012 H 121.7°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#F2F5EC
RGBrgb(242, 245, 236)
HSLhsl(80, 31%, 94%)
HSVhsv(80, 4%, 96%)
CMYKcmyk(1.2%, 0%, 3.7%, 3.9%)
CIE-LABlab(96.10, -2.57, 3.98)
CIE-LCHlch(96.10, 4.73, 122.85°)
OKLaboklab(96.54% -0.0065 0.0105)
OKLCHoklch(96.54% 0.012 121.7)
XYZxyz(84.4083, 90.2382, 92.3115)
Luminance0.9024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F5EC #EFECF5
analogous
#F5F4EC #F2F5EC #EEF5EC
triadic
#F2F5EC #ECF2F5 #F5ECF2
tetradic
#F2F5EC #ECF5F4 #EFECF5 #F5ECEE
square
#F2F5EC #ECF5F4 #EFECF5 #F5ECEE
split-complementary
#F2F5EC #ECEEF5 #F4ECF5
monochromatic
#BBCB9C #D7E0C4 #F1F4EB #F1F4EB #F1F4EB

Accessibility & contrast

On white

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

On black

19.05
#F2F5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F5EC
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F5EC#FFFFFF#000000##000000
##F2F5EC1.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6F4EC
Deuteranopia (green-blind)
#F6F4EC
Tritanopia (blue-blind)
#F3F4F2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2f5ec;
/* rgb */ color: rgb(242, 245, 236);
/* oklch */ color: oklch(96.5% 0.012 121.7);
Tailwind
colors: {
  custom: {
    50: '#f6f8f2',
    500: '#f2f5ec',
    950: '#000000',
  },
}
SCSS
$custom: #f2f5ec;
$custom-light: #f6f8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f5ec",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 236
  },
  "hsl": {
    "h": 80,
    "s": 31.034,
    "l": 94.314
  },
  "oklch": {
    "l": 0.9654,
    "c": 0.01229,
    "h": 121.7
  },
  "luminance": 0.90238
}

Semantic roles & 50–950 ramp

primary
#F2F5EC
secondary
#BEB5D0
accent
#3CAA60
background
#FFFFFF
surface
#FEFEFE
border
#D6D6D6
text
#171716
muted
#858585

Preview Lab

Preview with #F2F5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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