#F2FA6A#F2FA6A

#F2FA6A is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.2% C 0.165 H 112.1°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F2FA6A
RGBrgb(242, 250, 106)
HSLhsl(63, 94%, 70%)
HSVhsv(63, 58%, 98%)
CMYKcmyk(3.2%, 0%, 57.6%, 2%)
CIE-LABlab(95.28, -20.93, 66.52)
CIE-LCHlch(95.28, 69.73, 107.46°)
OKLaboklab(95.21% -0.0622 0.1533)
OKLCHoklch(95.21% 0.165 112.1)
XYZxyz(73.4069, 88.2906, 26.8077)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA6A #726AFA
analogous
#FABA6A #F2FA6A #AAFA6A
triadic
#F2FA6A #6AF2FA #FA6AF2
tetradic
#F2FA6A #6AFABA #726AFA #FA6AAA
square
#F2FA6A #6AFABA #726AFA #FA6AAA
split-complementary
#F2FA6A #6AAAFA #BA6AFA
monochromatic
#D6E208 #EDF82F #F2FA6A #F7FCA5 #FCFEE0

Accessibility & contrast

On white

1.13
#F2FA6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#F2FA6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA6A
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA6A#FFFFFF#000000##000000
##F2FA6A1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05A
Deuteranopia (green-blind)
#FFF373
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2fa6a;
/* rgb */ color: rgb(242, 250, 106);
/* oklch */ color: oklch(95.2% 0.165 112.1);
Tailwind
colors: {
  custom: {
    50: '#f9fb9a',
    500: '#f2fa6a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa6a;
$custom-light: #f9fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa6a",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 106
  },
  "hsl": {
    "h": 63.333,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9521,
    "c": 0.16541,
    "h": 112.1
  },
  "luminance": 0.88289
}

Semantic roles & 50–950 ramp

primary
#F2FA6A
secondary
#3D34D5
accent
#00E60D
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2FA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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