#F2FEA7#F2FEA7

#F2FEA7 is a very light, moderate yellow. Relative luminance 0.926; OKLCH L 96.9% C 0.110 H 114.9°. Best body text is #000000 at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#F2FEA7
RGBrgb(242, 254, 167)
HSLhsl(68, 98%, 83%)
HSVhsv(68, 34%, 100%)
CMYKcmyk(4.7%, 0%, 34.3%, 0.4%)
CIE-LABlab(97.05, -17.09, 40.35)
CIE-LCHlch(97.05, 43.81, 112.95°)
OKLaboklab(96.85% -0.0462 0.0997)
OKLCHoklch(96.85% 0.11 114.9)
XYZxyz(79.0350, 92.5517, 50.2524)
Luminance0.9255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FEA7 #B3A7FE
analogous
#FEDFA7 #F2FEA7 #C6FEA7
triadic
#F2FEA7 #A7F2FE #FEA7F2
tetradic
#F2FEA7 #A7FEDF #B3A7FE #FEA7C6
square
#F2FEA7 #A7FEDF #B3A7FE #FEA7C6
split-complementary
#F2FEA7 #A7C6FE #DFA7FE
monochromatic
#E0FD2E #E9FD6A #F2FEA7 #FBFFE1 #FBFFE1

Accessibility & contrast

On white

1.08
#F2FEA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.51
#F2FEA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FEA7
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FEA7#FFFFFF#000000##000000
##F2FEA71.001.0819.5119.51
#FFFFFF1.081.0021.0021.00
#00000019.5121.001.001.00
##00000019.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6A1
Deuteranopia (green-blind)
#FFF7AB
Tritanopia (blue-blind)
#FCF5E8
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2fea7;
/* rgb */ color: rgb(242, 254, 167);
/* oklch */ color: oklch(96.9% 0.110 114.9);
Tailwind
colors: {
  custom: {
    50: '#f7fec2',
    500: '#f2fea7',
    950: '#000000',
  },
}
SCSS
$custom: #f2fea7;
$custom-light: #f7fec2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fea7",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 167
  },
  "hsl": {
    "h": 68.276,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.96851,
    "c": 0.10986,
    "h": 114.9
  },
  "luminance": 0.92551
}

Semantic roles & 50–950 ramp

primary
#F2FEA7
secondary
#7867E2
accent
#00E620
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171712
muted
#858582

Preview Lab

Preview with #F2FEA7

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

Preview Lab → · Contrast checker → · Palette generator →

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