#F2FEB2#F2FEB2

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

Color values

HEX#F2FEB2
RGBrgb(242, 254, 178)
HSLhsl(69, 97%, 85%)
HSVhsv(69, 30%, 100%)
CMYKcmyk(4.7%, 0%, 29.9%, 0.4%)
CIE-LABlab(97.22, -15.73, 35.12)
CIE-LCHlch(97.22, 38.48, 114.13°)
OKLaboklab(97.04% -0.0419 0.0877)
OKLCHoklch(97.04% 0.097 115.5)
XYZxyz(80.0955, 92.9758, 55.8375)
Luminance0.9297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FEB2 #BEB2FE
analogous
#FEE4B2 #F2FEB2 #CCFEB2
triadic
#F2FEB2 #B2F2FE #FEB2F2
tetradic
#F2FEB2 #B2FEE4 #BEB2FE #FEB2CC
square
#F2FEB2 #B2FEE4 #BEB2FE #FEB2CC
split-complementary
#F2FEB2 #B2CCFE #E4B2FE
monochromatic
#DEFC39 #E8FD76 #F2FEB2 #FAFFE1 #FAFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2FEB2#FFFFFF#000000##000000
##F2FEB21.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)
#FFF6AD
Deuteranopia (green-blind)
#FFF8B5
Tritanopia (blue-blind)
#FAF6EA
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f2feb2;
/* rgb */ color: rgb(242, 254, 178);
/* oklch */ color: oklch(97.0% 0.097 115.5);
Tailwind
colors: {
  custom: {
    50: '#f7fec9',
    500: '#f2feb2',
    950: '#000000',
  },
}
SCSS
$custom: #f2feb2;
$custom-light: #f7fec9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2feb2",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 178
  },
  "hsl": {
    "h": 69.474,
    "s": 97.436,
    "l": 84.706
  },
  "oklch": {
    "l": 0.97044,
    "c": 0.09721,
    "h": 115.5
  },
  "luminance": 0.92975
}

Semantic roles & 50–950 ramp

primary
#F2FEB2
secondary
#8270E4
accent
#00E624
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2FEB2

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

Preview Lab → · Contrast checker → · Palette generator →

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