#F2FCA7#F2FCA7

#F2FCA7 is a very light, moderate yellow. Relative luminance 0.913; OKLCH L 96.4% C 0.107 H 113.9°. Best body text is #000000 at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#F2FCA7
RGBrgb(242, 252, 167)
HSLhsl(67, 93%, 82%)
HSVhsv(67, 34%, 99%)
CMYKcmyk(4%, 0%, 33.7%, 1.2%)
CIE-LABlab(96.53, -16.11, 39.67)
CIE-LCHlch(96.53, 42.82, 112.11°)
OKLaboklab(96.44% -0.0435 0.0981)
OKLCHoklch(96.44% 0.107 113.9)
XYZxyz(78.4037, 91.2889, 50.0419)
Luminance0.9129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FCA7 #B1A7FC
analogous
#FCDCA7 #F2FCA7 #C8FCA7
triadic
#F2FCA7 #A7F2FC #FCA7F2
tetradic
#F2FCA7 #A7FCDC #B1A7FC #FCA7C8
square
#F2FCA7 #A7FCDC #B1A7FC #FCA7C8
split-complementary
#F2FCA7 #A7C8FC #DCA7FC
monochromatic
#E1F831 #E9FA6C #F2FCA7 #FBFEE1 #FBFEE1

Accessibility & contrast

On white

1.09
#F2FCA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.26
#F2FCA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FCA7
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FCA7#FFFFFF#000000##000000
##F2FCA71.001.0919.2619.26
#FFFFFF1.091.0021.0021.00
#00000019.2621.001.001.00
##00000019.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4A1
Deuteranopia (green-blind)
#FFF6AB
Tritanopia (blue-blind)
#FCF3E6
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fca7;
/* rgb */ color: rgb(242, 252, 167);
/* oklch */ color: oklch(96.4% 0.107 113.9);
Tailwind
colors: {
  custom: {
    50: '#f7fdc2',
    500: '#f2fca7',
    950: '#000000',
  },
}
SCSS
$custom: #f2fca7;
$custom-light: #f7fdc2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fca7",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 167
  },
  "hsl": {
    "h": 67.059,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.9644,
    "c": 0.1073,
    "h": 113.9
  },
  "luminance": 0.91288
}

Semantic roles & 50–950 ramp

primary
#F2FCA7
secondary
#7668DF
accent
#00E61B
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171712
muted
#858582

Preview Lab

Preview with #F2FCA7

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

Preview Lab → · Contrast checker → · Palette generator →

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