#F7FFA2#F7FFA2

#F7FFA2 is a very light, moderate yellow. Relative luminance 0.939; OKLCH L 97.4% C 0.116 H 112.6°. Best body text is #000000 at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#F7FFA2
RGBrgb(247, 255, 162)
HSLhsl(65, 100%, 82%)
HSVhsv(65, 36%, 100%)
CMYKcmyk(3.1%, 0%, 36.5%, 0%)
CIE-LABlab(97.59, -16.29, 43.58)
CIE-LCHlch(97.59, 46.52, 110.49°)
OKLaboklab(97.35% -0.0444 0.1069)
OKLCHoklch(97.35% 0.116 112.6)
XYZxyz(80.6400, 93.9039, 48.0526)
Luminance0.9390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FFA2 #AAA2FF
analogous
#FFD9A2 #F7FFA2 #C9FFA2
triadic
#F7FFA2 #A2F7FF #FFA2F7
tetradic
#F7FFA2 #A2FFD9 #AAA2FF #FFA2C9
square
#F7FFA2 #A2FFD9 #AAA2FF #FFA2C9
split-complementary
#F7FFA2 #A2C9FF #D9A2FF
monochromatic
#ECFF28 #F2FF65 #F7FFA2 #FCFFDF #FCFFE0

Accessibility & contrast

On white

1.06
#F7FFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.78
#F7FFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FFA2
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FFA2#FFFFFF#000000##000000
##F7FFA21.001.0619.7819.78
#FFFFFF1.061.0021.0021.00
#00000019.7821.001.001.00
##00000019.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF79B
Deuteranopia (green-blind)
#FFF9A6
Tritanopia (blue-blind)
#FFF5E8
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f7ffa2;
/* rgb */ color: rgb(247, 255, 162);
/* oklch */ color: oklch(97.4% 0.116 112.6);
Tailwind
colors: {
  custom: {
    50: '#fbffbe',
    500: '#f7ffa2',
    950: '#000000',
  },
}
SCSS
$custom: #f7ffa2;
$custom-light: #fbffbe;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ffa2",
  "rgb": {
    "r": 247,
    "g": 255,
    "b": 162
  },
  "hsl": {
    "h": 65.161,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.97353,
    "c": 0.11577,
    "h": 112.6
  },
  "luminance": 0.93903
}

Semantic roles & 50–950 ramp

primary
#F7FFA2
secondary
#6D62E3
accent
#00E614
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171812
muted
#858682

Preview Lab

Preview with #F7FFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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