#F6FFA2#F6FFA2

#F6FFA2 is a very light, moderate yellow. Relative luminance 0.937; OKLCH L 97.3% C 0.116 H 113.1°. Best body text is #000000 at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#F6FFA2
RGBrgb(246, 255, 162)
HSLhsl(66, 100%, 82%)
HSVhsv(66, 36%, 100%)
CMYKcmyk(3.5%, 0%, 36.5%, 0%)
CIE-LABlab(97.52, -16.66, 43.47)
CIE-LCHlch(97.52, 46.55, 110.97°)
OKLaboklab(97.28% -0.0454 0.1067)
OKLCHoklch(97.28% 0.116 113.1)
XYZxyz(80.2882, 93.7225, 48.0361)
Luminance0.9372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6FFA2 #ABA2FF
analogous
#FFD9A2 #F6FFA2 #C8FFA2
triadic
#F6FFA2 #A2F6FF #FFA2F6
tetradic
#F6FFA2 #A2FFD9 #ABA2FF #FFA2C8
square
#F6FFA2 #A2FFD9 #ABA2FF #FFA2C8
split-complementary
#F6FFA2 #A2C8FF #D9A2FF
monochromatic
#EAFF28 #F0FF65 #F6FFA2 #FCFFDF #FCFFE0

Accessibility & contrast

On white

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

On black

19.74
#F6FFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6FFA2
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6FFA2#FFFFFF#000000##000000
##F6FFA21.001.0619.7419.74
#FFFFFF1.061.0021.0021.00
#00000019.7421.001.001.00
##00000019.7421.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: #f6ffa2;
/* rgb */ color: rgb(246, 255, 162);
/* oklch */ color: oklch(97.3% 0.116 113.1);
Tailwind
colors: {
  custom: {
    50: '#faffbe',
    500: '#f6ffa2',
    950: '#000000',
  },
}
SCSS
$custom: #f6ffa2;
$custom-light: #faffbe;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ffa2",
  "rgb": {
    "r": 246,
    "g": 255,
    "b": 162
  },
  "hsl": {
    "h": 65.806,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.97277,
    "c": 0.11595,
    "h": 113.1
  },
  "luminance": 0.93721
}

Semantic roles & 50–950 ramp

primary
#F6FFA2
secondary
#6E62E3
accent
#00E616
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171812
muted
#858682

Preview Lab

Preview with #F6FFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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