#F2FEA4#F2FEA4

#F2FEA4 is a very light, moderate yellow. Relative luminance 0.924; OKLCH L 96.8% C 0.113 H 114.7°. Best body text is #000000 at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#F2FEA4
RGBrgb(242, 254, 164)
HSLhsl(68, 98%, 82%)
HSVhsv(68, 35%, 100%)
CMYKcmyk(4.7%, 0%, 35.4%, 0.4%)
CIE-LABlab(97.00, -17.44, 41.76)
CIE-LCHlch(97.00, 45.26, 112.66°)
OKLaboklab(96.8% -0.0474 0.1028)
OKLCHoklch(96.8% 0.113 114.7)
XYZxyz(78.7609, 92.4420, 48.8087)
Luminance0.9244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FEA4 #B0A4FE
analogous
#FEDDA4 #F2FEA4 #C5FEA4
triadic
#F2FEA4 #A4F2FE #FEA4F2
tetradic
#F2FEA4 #A4FEDD #B0A4FE #FEA4C5
square
#F2FEA4 #A4FEDD #B0A4FE #FEA4C5
split-complementary
#F2FEA4 #A4C5FE #DDA4FE
monochromatic
#E1FD2B #E9FD67 #F2FEA4 #FBFFE1 #FBFFE1

Accessibility & contrast

On white

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

On black

19.49
#F2FEA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FEA4
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FEA4#FFFFFF#000000##000000
##F2FEA41.001.0819.4919.49
#FFFFFF1.081.0021.0021.00
#00000019.4921.001.001.00
##00000019.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF69D
Deuteranopia (green-blind)
#FFF7A8
Tritanopia (blue-blind)
#FCF4E7
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2fea4;
/* rgb */ color: rgb(242, 254, 164);
/* oklch */ color: oklch(96.8% 0.113 114.7);
Tailwind
colors: {
  custom: {
    50: '#f7fec0',
    500: '#f2fea4',
    950: '#000000',
  },
}
SCSS
$custom: #f2fea4;
$custom-light: #f7fec0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fea4",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 164
  },
  "hsl": {
    "h": 68,
    "s": 97.826,
    "l": 81.961
  },
  "oklch": {
    "l": 0.96801,
    "c": 0.11323,
    "h": 114.7
  },
  "luminance": 0.92441
}

Semantic roles & 50–950 ramp

primary
#F2FEA4
secondary
#7564E2
accent
#00E61F
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171712
muted
#858582

Preview Lab

Preview with #F2FEA4

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

Preview Lab → · Contrast checker → · Palette generator →

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