#F2FFAE#F2FFAE

#F2FFAE is a very light, moderate yellow. Relative luminance 0.935; OKLCH L 97.2% C 0.103 H 115.8°. Best body text is #000000 at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#F2FFAE
RGBrgb(242, 255, 174)
HSLhsl(70, 100%, 84%)
HSVhsv(70, 32%, 100%)
CMYKcmyk(5.1%, 0%, 31.8%, 0%)
CIE-LABlab(97.41, -16.72, 37.37)
CIE-LCHlch(97.41, 40.94, 114.11°)
OKLaboklab(97.18% -0.0449 0.0929)
OKLCHoklch(97.18% 0.103 115.8)
XYZxyz(80.0179, 93.4539, 53.8592)
Luminance0.9345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFAE #BBAEFF
analogous
#FFE4AE #F2FFAE #CAFFAE
triadic
#F2FFAE #AEF2FF #FFAEF2
tetradic
#F2FFAE #AEFFE4 #BBAEFF #FFAECA
square
#F2FFAE #AEFFE4 #BBAEFF #FFAECA
split-complementary
#F2FFAE #AECAFF #E4AEFF
monochromatic
#DEFF34 #E8FF71 #F2FFAE #FAFFE0 #FAFFE0

Accessibility & contrast

On white

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

On black

19.69
#F2FFAE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFAE
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFAE#FFFFFF#000000##000000
##F2FFAE1.001.0719.6919.69
#FFFFFF1.071.0021.0021.00
#00000019.6921.001.001.00
##00000019.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7A8
Deuteranopia (green-blind)
#FFF8B2
Tritanopia (blue-blind)
#FBF6EA
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f2ffae;
/* rgb */ color: rgb(242, 255, 174);
/* oklch */ color: oklch(97.2% 0.103 115.8);
Tailwind
colors: {
  custom: {
    50: '#f7ffc7',
    500: '#f2ffae',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffae;
$custom-light: #f7ffc7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffae",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 174
  },
  "hsl": {
    "h": 69.63,
    "s": 100,
    "l": 84.118
  },
  "oklch": {
    "l": 0.97178,
    "c": 0.10318,
    "h": 115.8
  },
  "luminance": 0.93453
}

Semantic roles & 50–950 ramp

primary
#F2FFAE
secondary
#806CE5
accent
#00E625
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #F2FFAE

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

Preview Lab → · Contrast checker → · Palette generator →

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