#F2FFA7#F2FFA7

#F2FFA7 is a very light, moderate yellow. Relative luminance 0.932; OKLCH L 97.1% C 0.111 H 115.4°. Best body text is #000000 at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#F2FFA7
RGBrgb(242, 255, 167)
HSLhsl(69, 100%, 83%)
HSVhsv(69, 35%, 100%)
CMYKcmyk(5.1%, 0%, 34.5%, 0%)
CIE-LABlab(97.30, -17.57, 40.68)
CIE-LCHlch(97.30, 44.31, 113.36°)
OKLaboklab(97.06% -0.0476 0.1005)
OKLCHoklch(97.06% 0.111 115.4)
XYZxyz(79.3532, 93.1880, 50.3584)
Luminance0.9319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFA7 #B4A7FF
analogous
#FFE0A7 #F2FFA7 #C6FFA7
triadic
#F2FFA7 #A7F2FF #FFA7F2
tetradic
#F2FFA7 #A7FFE0 #B4A7FF #FFA7C6
square
#F2FFA7 #A7FFE0 #B4A7FF #FFA7C6
split-complementary
#F2FFA7 #A7C6FF #E0A7FF
monochromatic
#E0FF2D #E9FF6A #F2FFA7 #FAFFE0 #FAFFE0

Accessibility & contrast

On white

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

On black

19.64
#F2FFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFA7
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFA7#FFFFFF#000000##000000
##F2FFA71.001.0719.6419.64
#FFFFFF1.071.0021.0021.00
#00000019.6421.001.001.00
##00000019.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ffa7;
/* rgb */ color: rgb(242, 255, 167);
/* oklch */ color: oklch(97.1% 0.111 115.4);
Tailwind
colors: {
  custom: {
    50: '#f7ffc2',
    500: '#f2ffa7',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffa7;
$custom-light: #f7ffc2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffa7",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 167
  },
  "hsl": {
    "h": 68.864,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.97057,
    "c": 0.11116,
    "h": 115.4
  },
  "luminance": 0.93187
}

Semantic roles & 50–950 ramp

primary
#F2FFA7
secondary
#7966E4
accent
#00E622
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171812
muted
#858682

Preview Lab

Preview with #F2FFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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