#F7FFB2#F7FFB2

#F7FFB2 is a very light, moderate yellow. Relative luminance 0.945; OKLCH L 97.6% C 0.098 H 113.0°. Best body text is #000000 at 19.90:1 contrast (WCAG AA passes).

Color values

HEX#F7FFB2
RGBrgb(247, 255, 178)
HSLhsl(66, 100%, 85%)
HSVhsv(66, 30%, 100%)
CMYKcmyk(3.1%, 0%, 30.2%, 0%)
CIE-LABlab(97.84, -14.39, 36.01)
CIE-LCHlch(97.84, 38.78, 111.79°)
OKLaboklab(97.63% -0.0382 0.0898)
OKLCHoklch(97.63% 0.098 113)
XYZxyz(82.1537, 94.5094, 56.0251)
Luminance0.9451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FFB2 #BAB2FF
analogous
#FFE1B2 #F7FFB2 #D0FFB2
triadic
#F7FFB2 #B2F7FF #FFB2F7
tetradic
#F7FFB2 #B2FFE1 #BAB2FF #FFB2D0
square
#F7FFB2 #B2FFE1 #BAB2FF #FFB2D0
split-complementary
#F7FFB2 #B2D0FF #E1B2FF
monochromatic
#EAFF38 #F1FF75 #F7FFB2 #FCFFE0 #FCFFE0

Accessibility & contrast

On white

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

On black

19.90
#F7FFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FFB2
19.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FFB2#FFFFFF#000000##000000
##F7FFB21.001.0619.9019.90
#FFFFFF1.061.0021.0021.00
#00000019.9021.001.001.00
##00000019.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8AD
Deuteranopia (green-blind)
#FFFAB5
Tritanopia (blue-blind)
#FFF6EB
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #f7ffb2;
/* rgb */ color: rgb(247, 255, 178);
/* oklch */ color: oklch(97.6% 0.098 113.0);
Tailwind
colors: {
  custom: {
    50: '#faffc9',
    500: '#f7ffb2',
    950: '#000000',
  },
}
SCSS
$custom: #f7ffb2;
$custom-light: #faffc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ffb2",
  "rgb": {
    "r": 247,
    "g": 255,
    "b": 178
  },
  "hsl": {
    "h": 66.234,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.97626,
    "c": 0.09758,
    "h": 113
  },
  "luminance": 0.94509
}

Semantic roles & 50–950 ramp

primary
#F7FFB2
secondary
#7C70E6
accent
#00E618
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #F7FFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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