#F2FAA2#F2FAA2

#F2FAA2 is a very light, moderate yellow. Relative luminance 0.899; OKLCH L 95.9% C 0.110 H 112.7°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#F2FAA2
RGBrgb(242, 250, 162)
HSLhsl(65, 90%, 81%)
HSVhsv(65, 35%, 98%)
CMYKcmyk(3.2%, 0%, 35.2%, 2%)
CIE-LABlab(95.94, -15.73, 41.37)
CIE-LCHlch(95.94, 44.26, 110.81°)
OKLaboklab(95.95% -0.0426 0.1019)
OKLCHoklch(95.95% 0.11 112.7)
XYZxyz(77.3256, 89.8581, 47.4463)
Luminance0.8986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FAA2 #AAA2FA
analogous
#FAD6A2 #F2FAA2 #C6FAA2
triadic
#F2FAA2 #A2F2FA #FAA2F2
tetradic
#F2FAA2 #A2FAD6 #AAA2FA #FAA2C6
square
#F2FAA2 #A2FAD6 #AAA2FA #FAA2C6
split-complementary
#F2FAA2 #A2C6FA #D6A2FA
monochromatic
#E2F42E #EAF768 #F2FAA2 #FAFDDC #FBFDE2

Accessibility & contrast

On white

1.11
#F2FAA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.97
#F2FAA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FAA2
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FAA2#FFFFFF#000000##000000
##F2FAA21.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF29C
Deuteranopia (green-blind)
#FFF4A6
Tritanopia (blue-blind)
#FCF0E4
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2faa2;
/* rgb */ color: rgb(242, 250, 162);
/* oklch */ color: oklch(95.9% 0.110 112.7);
Tailwind
colors: {
  custom: {
    50: '#f7fbbe',
    500: '#f2faa2',
    950: '#000000',
  },
}
SCSS
$custom: #f2faa2;
$custom-light: #f7fbbe;
$custom-dark: #000000;
JSON
{
  "hex": "#f2faa2",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 162
  },
  "hsl": {
    "h": 65.455,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.95945,
    "c": 0.11042,
    "h": 112.7
  },
  "luminance": 0.89857
}

Semantic roles & 50–950 ramp

primary
#F2FAA2
secondary
#6F64DC
accent
#00E615
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #F2FAA2

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

Preview Lab → · Contrast checker → · Palette generator →

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