#F2FFA2#F2FFA2

#F2FFA2 is a very light, moderate yellow. Relative luminance 0.930; OKLCH L 97.0% C 0.117 H 115.1°. Best body text is #000000 at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#F2FFA2
RGBrgb(242, 255, 162)
HSLhsl(68, 100%, 82%)
HSVhsv(68, 36%, 100%)
CMYKcmyk(5.1%, 0%, 36.5%, 0%)
CIE-LABlab(97.23, -18.15, 43.04)
CIE-LCHlch(97.23, 46.71, 112.87°)
OKLaboklab(96.97% -0.0495 0.1057)
OKLCHoklch(96.97% 0.117 115.1)
XYZxyz(78.8999, 93.0067, 47.9710)
Luminance0.9301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFA2 #AFA2FF
analogous
#FFDEA2 #F2FFA2 #C4FFA2
triadic
#F2FFA2 #A2F2FF #FFA2F2
tetradic
#F2FFA2 #A2FFDE #AFA2FF #FFA2C4
square
#F2FFA2 #A2FFDE #AFA2FF #FFA2C4
split-complementary
#F2FFA2 #A2C4FF #DEA2FF
monochromatic
#E1FF28 #E9FF65 #F2FFA2 #FBFFDF #FBFFE0

Accessibility & contrast

On white

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

On black

19.60
#F2FFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFA2
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFA2#FFFFFF#000000##000000
##F2FFA21.001.0719.6019.60
#FFFFFF1.071.0021.0021.00
#00000019.6021.001.001.00
##00000019.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF69B
Deuteranopia (green-blind)
#FFF8A6
Tritanopia (blue-blind)
#FCF5E8
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f2ffa2;
/* rgb */ color: rgb(242, 255, 162);
/* oklch */ color: oklch(97.0% 0.117 115.1);
Tailwind
colors: {
  custom: {
    50: '#f7ffbe',
    500: '#f2ffa2',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffa2;
$custom-light: #f7ffbe;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffa2",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 162
  },
  "hsl": {
    "h": 68.387,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.96974,
    "c": 0.11674,
    "h": 115.1
  },
  "luminance": 0.93006
}

Semantic roles & 50–950 ramp

primary
#F2FFA2
secondary
#7462E3
accent
#00E620
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171812
muted
#858682

Preview Lab

Preview with #F2FFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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