#F2FFAB#F2FFAB

#F2FFAB is a very light, moderate yellow. Relative luminance 0.933; OKLCH L 97.1% C 0.107 H 115.6°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#F2FFAB
RGBrgb(242, 255, 171)
HSLhsl(69, 100%, 84%)
HSVhsv(69, 33%, 100%)
CMYKcmyk(5.1%, 0%, 32.9%, 0%)
CIE-LABlab(97.36, -17.09, 38.79)
CIE-LCHlch(97.36, 42.39, 113.78°)
OKLaboklab(97.13% -0.046 0.0962)
OKLCHoklch(97.13% 0.107 115.6)
XYZxyz(79.7287, 93.3382, 52.3361)
Luminance0.9334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFAB #B8ABFF
analogous
#FFE2AB #F2FFAB #C8FFAB
triadic
#F2FFAB #ABF2FF #FFABF2
tetradic
#F2FFAB #ABFFE2 #B8ABFF #FFABC8
square
#F2FFAB #ABFFE2 #B8ABFF #FFABC8
split-complementary
#F2FFAB #ABC8FF #E2ABFF
monochromatic
#DFFF31 #E9FF6E #F2FFAB #FAFFE0 #FAFFE0

Accessibility & contrast

On white

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

On black

19.67
#F2FFAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFAB
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFAB#FFFFFF#000000##000000
##F2FFAB1.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ffab;
/* rgb */ color: rgb(242, 255, 171);
/* oklch */ color: oklch(97.1% 0.107 115.6);
Tailwind
colors: {
  custom: {
    50: '#f7ffc4',
    500: '#f2ffab',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffab;
$custom-light: #f7ffc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffab",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 171
  },
  "hsl": {
    "h": 69.286,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.97125,
    "c": 0.10662,
    "h": 115.6
  },
  "luminance": 0.93338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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