#F2FEA5#F2FEA5

#F2FEA5 is a very light, moderate yellow. Relative luminance 0.925; OKLCH L 96.8% C 0.112 H 114.8°. Best body text is #000000 at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#F2FEA5
RGBrgb(242, 254, 165)
HSLhsl(68, 98%, 82%)
HSVhsv(68, 35%, 100%)
CMYKcmyk(4.7%, 0%, 35%, 0.4%)
CIE-LABlab(97.02, -17.32, 41.29)
CIE-LCHlch(97.02, 44.78, 112.76°)
OKLaboklab(96.82% -0.047 0.1018)
OKLCHoklch(96.82% 0.112 114.8)
XYZxyz(78.8516, 92.4783, 49.2862)
Luminance0.9248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FEA5 #B1A5FE
analogous
#FEDEA5 #F2FEA5 #C6FEA5
triadic
#F2FEA5 #A5F2FE #FEA5F2
tetradic
#F2FEA5 #A5FEDE #B1A5FE #FEA5C6
square
#F2FEA5 #A5FEDE #B1A5FE #FEA5C6
split-complementary
#F2FEA5 #A5C6FE #DEA5FE
monochromatic
#E1FD2C #E9FD68 #F2FEA5 #FBFFE1 #FBFFE1

Accessibility & contrast

On white

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

On black

19.50
#F2FEA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FEA5
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FEA5#FFFFFF#000000##000000
##F2FEA51.001.0819.5019.50
#FFFFFF1.081.0021.0021.00
#00000019.5021.001.001.00
##00000019.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF69F
Deuteranopia (green-blind)
#FFF7A9
Tritanopia (blue-blind)
#FCF4E8
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2fea5;
/* rgb */ color: rgb(242, 254, 165);
/* oklch */ color: oklch(96.8% 0.112 114.8);
Tailwind
colors: {
  custom: {
    50: '#f7fec0',
    500: '#f2fea5',
    950: '#000000',
  },
}
SCSS
$custom: #f2fea5;
$custom-light: #f7fec0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fea5",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 165
  },
  "hsl": {
    "h": 68.09,
    "s": 97.802,
    "l": 82.157
  },
  "oklch": {
    "l": 0.96817,
    "c": 0.11212,
    "h": 114.8
  },
  "luminance": 0.92477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FEA5

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

Preview Lab → · Contrast checker → · Palette generator →

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