#F2FF6B#F2FF6B

#F2FF6B is a very light, vivid yellow. Relative luminance 0.915; OKLCH L 96.3% C 0.170 H 113.8°. Best body text is #000000 at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#F2FF6B
RGBrgb(242, 255, 107)
HSLhsl(65, 100%, 71%)
HSVhsv(65, 58%, 100%)
CMYKcmyk(5.1%, 0%, 58%, 0%)
CIE-LABlab(96.60, -23.23, 67.55)
CIE-LCHlch(96.60, 71.43, 108.98°)
OKLaboklab(96.27% -0.0686 0.1556)
OKLCHoklch(96.27% 0.17 113.8)
XYZxyz(75.0335, 91.4601, 27.6080)
Luminance0.9146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF6B #786BFF
analogous
#FFC26B #F2FF6B #A8FF6B
triadic
#F2FF6B #6BF2FF #FF6BF2
tetradic
#F2FF6B #6BFFC2 #786BFF #FF6BA8
square
#F2FF6B #6BFFC2 #786BFF #FF6BA8
split-complementary
#F2FF6B #6BA8FF #C26BFF
monochromatic
#DBF000 #EDFF2E #F2FF6B #F7FFA8 #FCFFE0

Accessibility & contrast

On white

1.09
#F2FF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.29
#F2FF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF6B
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF6B#FFFFFF#000000##000000
##F2FF6B1.001.0919.2919.29
#FFFFFF1.091.0021.0021.00
#00000019.2921.001.001.00
##00000019.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF45A
Deuteranopia (green-blind)
#FFF774
Tritanopia (blue-blind)
#FFF1DF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2ff6b;
/* rgb */ color: rgb(242, 255, 107);
/* oklch */ color: oklch(96.3% 0.170 113.8);
Tailwind
colors: {
  custom: {
    50: '#f9ff9a',
    500: '#f2ff6b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff6b;
$custom-light: #f9ff9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff6b",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 107
  },
  "hsl": {
    "h": 65.27,
    "s": 100,
    "l": 70.98
  },
  "oklch": {
    "l": 0.96265,
    "c": 0.17005,
    "h": 113.8
  },
  "luminance": 0.91459
}

Semantic roles & 50–950 ramp

primary
#F2FF6B
secondary
#4233DB
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2FF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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