#F2FFAA#F2FFAA

#F2FFAA is a very light, moderate yellow. Relative luminance 0.933; OKLCH L 97.1% C 0.108 H 115.5°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#F2FFAA
RGBrgb(242, 255, 170)
HSLhsl(69, 100%, 83%)
HSVhsv(69, 33%, 100%)
CMYKcmyk(5.1%, 0%, 33.3%, 0%)
CIE-LABlab(97.35, -17.21, 39.26)
CIE-LCHlch(97.35, 42.87, 113.67°)
OKLaboklab(97.11% -0.0464 0.0972)
OKLCHoklch(97.11% 0.108 115.5)
XYZxyz(79.6338, 93.3002, 51.8360)
Luminance0.9330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFAA #B7AAFF
analogous
#FFE1AA #F2FFAA #C7FFAA
triadic
#F2FFAA #AAF2FF #FFAAF2
tetradic
#F2FFAA #AAFFE1 #B7AAFF #FFAAC7
square
#F2FFAA #AAFFE1 #B7AAFF #FFAAC7
split-complementary
#F2FFAA #AAC7FF #E1AAFF
monochromatic
#DFFF30 #E9FF6D #F2FFAA #FAFFE0 #FAFFE0

Accessibility & contrast

On white

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

On black

19.66
#F2FFAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFAA
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFAA#FFFFFF#000000##000000
##F2FFAA1.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7A4
Deuteranopia (green-blind)
#FFF8AE
Tritanopia (blue-blind)
#FBF6E9
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f2ffaa;
/* rgb */ color: rgb(242, 255, 170);
/* oklch */ color: oklch(97.1% 0.108 115.5);
Tailwind
colors: {
  custom: {
    50: '#f7ffc4',
    500: '#f2ffaa',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffaa;
$custom-light: #f7ffc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffaa",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 170
  },
  "hsl": {
    "h": 69.176,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.97108,
    "c": 0.10776,
    "h": 115.5
  },
  "luminance": 0.933
}

Semantic roles & 50–950 ramp

primary
#F2FFAA
secondary
#7C69E4
accent
#00E623
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #F2FFAA

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

Preview Lab → · Contrast checker → · Palette generator →

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