#F6FFAB#F6FFAB

#F6FFAB is a very light, moderate yellow. Relative luminance 0.941; OKLCH L 97.4% C 0.106 H 113.4°. Best body text is #000000 at 19.81:1 contrast (WCAG AA passes).

Color values

HEX#F6FFAB
RGBrgb(246, 255, 171)
HSLhsl(66, 100%, 84%)
HSVhsv(66, 33%, 100%)
CMYKcmyk(3.5%, 0%, 32.9%, 0%)
CIE-LABlab(97.65, -15.61, 39.22)
CIE-LCHlch(97.65, 42.22, 111.71°)
OKLaboklab(97.43% -0.0419 0.0972)
OKLCHoklch(97.43% 0.106 113.4)
XYZxyz(81.1170, 94.0540, 52.4012)
Luminance0.9405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6FFAB #B4ABFF
analogous
#FFDEAB #F6FFAB #CCFFAB
triadic
#F6FFAB #ABF6FF #FFABF6
tetradic
#F6FFAB #ABFFDE #B4ABFF #FFABCC
square
#F6FFAB #ABFFDE #B4ABFF #FFABCC
split-complementary
#F6FFAB #ABCCFF #DEABFF
monochromatic
#E9FF31 #EFFF6E #F6FFAB #FCFFE0 #FCFFE0

Accessibility & contrast

On white

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

On black

19.81
#F6FFAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6FFAB
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6FFAB#FFFFFF#000000##000000
##F6FFAB1.001.0619.8119.81
#FFFFFF1.061.0021.0021.00
#00000019.8121.001.001.00
##00000019.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7A5
Deuteranopia (green-blind)
#FFF9AF
Tritanopia (blue-blind)
#FFF6EA
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f6ffab;
/* rgb */ color: rgb(246, 255, 171);
/* oklch */ color: oklch(97.4% 0.106 113.4);
Tailwind
colors: {
  custom: {
    50: '#faffc5',
    500: '#f6ffab',
    950: '#000000',
  },
}
SCSS
$custom: #f6ffab;
$custom-light: #faffc5;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ffab",
  "rgb": {
    "r": 246,
    "g": 255,
    "b": 171
  },
  "hsl": {
    "h": 66.429,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.97427,
    "c": 0.10583,
    "h": 113.4
  },
  "luminance": 0.94053
}

Semantic roles & 50–950 ramp

primary
#F6FFAB
secondary
#776AE5
accent
#00E619
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #F6FFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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