#F2F8DC#F2F8DC

#F2F8DC is a very light, muted yellow-green. Relative luminance 0.912; OKLCH L 96.7% C 0.037 H 116.9°. Best body text is #000000 at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#F2F8DC
RGBrgb(242, 248, 220)
HSLhsl(73, 67%, 92%)
HSVhsv(73, 11%, 97%)
CMYKcmyk(2.4%, 0%, 11.3%, 2.7%)
CIE-LABlab(96.48, -6.73, 12.78)
CIE-LCHlch(96.48, 14.45, 117.79°)
OKLaboklab(96.73% -0.0169 0.0332)
OKLCHoklch(96.73% 0.037 116.9)
XYZxyz(83.1019, 91.1796, 80.9177)
Luminance0.9118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F8DC #E2DCF8
analogous
#F8F0DC #F2F8DC #E4F8DC
triadic
#F2F8DC #DCF2F8 #F8DCF2
tetradic
#F2F8DC #DCF8F0 #E2DCF8 #F8DCE4
square
#F2F8DC #DCF8F0 #E2DCF8 #F8DCE4
split-complementary
#F2F8DC #DCE4F8 #F0DCF8
monochromatic
#CCE476 #DFEEA9 #F2F8DC #F6FAE5 #F6FAE5

Accessibility & contrast

On white

1.09
#F2F8DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.24
#F2F8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F8DC
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F8DC#FFFFFF#000000##000000
##F2F8DC1.001.0919.2419.24
#FFFFFF1.091.0021.0021.00
#00000019.2421.001.001.00
##00000019.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF5DA
Deuteranopia (green-blind)
#FCF5DD
Tritanopia (blue-blind)
#F5F5F0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2f8dc;
/* rgb */ color: rgb(242, 248, 220);
/* oklch */ color: oklch(96.7% 0.037 116.9);
Tailwind
colors: {
  custom: {
    50: '#f6fae6',
    500: '#f2f8dc',
    950: '#000000',
  },
}
SCSS
$custom: #f2f8dc;
$custom-light: #f6fae6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f8dc",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 220
  },
  "hsl": {
    "h": 72.857,
    "s": 66.667,
    "l": 91.765
  },
  "oklch": {
    "l": 0.96725,
    "c": 0.03724,
    "h": 116.9
  },
  "luminance": 0.91179
}

Semantic roles & 50–950 ramp

primary
#F2F8DC
secondary
#AA9DDB
accent
#17CF3E
background
#FFFFFE
surface
#FEFFFC
border
#D6D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2F8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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