#F2FFAD#F2FFAD

#F2FFAD is a very light, moderate yellow. Relative luminance 0.934; OKLCH L 97.2% C 0.104 H 115.7°. Best body text is #000000 at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#F2FFAD
RGBrgb(242, 255, 173)
HSLhsl(70, 100%, 84%)
HSVhsv(70, 32%, 100%)
CMYKcmyk(5.1%, 0%, 32.2%, 0%)
CIE-LABlab(97.40, -16.85, 37.84)
CIE-LCHlch(97.40, 41.42, 114.00°)
OKLaboklab(97.16% -0.0453 0.094)
OKLCHoklch(97.16% 0.104 115.7)
XYZxyz(79.9208, 93.4150, 53.3477)
Luminance0.9341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFAD #BAADFF
analogous
#FFE3AD #F2FFAD #C9FFAD
triadic
#F2FFAD #ADF2FF #FFADF2
tetradic
#F2FFAD #ADFFE3 #BAADFF #FFADC9
square
#F2FFAD #ADFFE3 #BAADFF #FFADC9
split-complementary
#F2FFAD #ADC9FF #E3ADFF
monochromatic
#DFFF33 #E8FF70 #F2FFAD #FAFFE0 #FAFFE0

Accessibility & contrast

On white

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

On black

19.68
#F2FFAD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFAD
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFAD#FFFFFF#000000##000000
##F2FFAD1.001.0719.6819.68
#FFFFFF1.071.0021.0021.00
#00000019.6821.001.001.00
##00000019.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7A7
Deuteranopia (green-blind)
#FFF8B1
Tritanopia (blue-blind)
#FBF6EA
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f2ffad;
/* rgb */ color: rgb(242, 255, 173);
/* oklch */ color: oklch(97.2% 0.104 115.7);
Tailwind
colors: {
  custom: {
    50: '#f7ffc6',
    500: '#f2ffad',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffad;
$custom-light: #f7ffc6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffad",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 173
  },
  "hsl": {
    "h": 69.512,
    "s": 100,
    "l": 83.922
  },
  "oklch": {
    "l": 0.9716,
    "c": 0.10433,
    "h": 115.7
  },
  "luminance": 0.93414
}

Semantic roles & 50–950 ramp

primary
#F2FFAD
secondary
#7F6BE5
accent
#00E624
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #F2FFAD

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

Preview Lab → · Contrast checker → · Palette generator →

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