#F2FEAC#F2FEAC

#F2FEAC is a very light, moderate yellow. Relative luminance 0.927; OKLCH L 96.9% C 0.104 H 115.2°. Best body text is #000000 at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#F2FEAC
RGBrgb(242, 254, 172)
HSLhsl(69, 98%, 84%)
HSVhsv(69, 32%, 100%)
CMYKcmyk(4.7%, 0%, 32.3%, 0.4%)
CIE-LABlab(97.12, -16.48, 37.98)
CIE-LCHlch(97.12, 41.40, 113.46°)
OKLaboklab(96.94% -0.0443 0.0943)
OKLCHoklch(96.94% 0.104 115.2)
XYZxyz(79.5062, 92.7401, 52.7339)
Luminance0.9274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FEAC #B8ACFE
analogous
#FEE1AC #F2FEAC #C9FEAC
triadic
#F2FEAC #ACF2FE #FEACF2
tetradic
#F2FEAC #ACFEE1 #B8ACFE #FEACC9
square
#F2FEAC #ACFEE1 #B8ACFE #FEACC9
split-complementary
#F2FEAC #ACC9FE #E1ACFE
monochromatic
#DFFD33 #E9FD70 #F2FEAC #FAFFE1 #FAFFE1

Accessibility & contrast

On white

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

On black

19.55
#F2FEAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FEAC
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FEAC#FFFFFF#000000##000000
##F2FEAC1.001.0719.5519.55
#FFFFFF1.071.0021.0021.00
#00000019.5521.001.001.00
##00000019.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6A6
Deuteranopia (green-blind)
#FFF8B0
Tritanopia (blue-blind)
#FBF5E9
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f2feac;
/* rgb */ color: rgb(242, 254, 172);
/* oklch */ color: oklch(96.9% 0.104 115.2);
Tailwind
colors: {
  custom: {
    50: '#f7fec5',
    500: '#f2feac',
    950: '#000000',
  },
}
SCSS
$custom: #f2feac;
$custom-light: #f7fec5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2feac",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 172
  },
  "hsl": {
    "h": 68.78,
    "s": 97.619,
    "l": 83.529
  },
  "oklch": {
    "l": 0.96937,
    "c": 0.10417,
    "h": 115.2
  },
  "luminance": 0.92739
}

Semantic roles & 50–950 ramp

primary
#F2FEAC
secondary
#7D6BE3
accent
#00E622
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2FEAC

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

Preview Lab → · Contrast checker → · Palette generator →

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