#F2FA6B#F2FA6B

#F2FA6B 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#F2FA6B
RGBrgb(242, 250, 107)
HSLhsl(63, 93%, 70%)
HSVhsv(63, 57%, 98%)
CMYKcmyk(3.2%, 0%, 57.2%, 2%)
CIE-LABlab(95.29, -20.85, 66.10)
CIE-LCHlch(95.29, 69.31, 107.51°)
OKLaboklab(95.22% -0.0619 0.1525)
OKLCHoklch(95.22% 0.165 112.1)
XYZxyz(73.4592, 88.3115, 27.0832)
Luminance0.8831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA6B #736BFA
analogous
#FABB6B #F2FA6B #AAFA6B
triadic
#F2FA6B #6BF2FA #FA6BF2
tetradic
#F2FA6B #6BFABB #736BFA #FA6BAA
square
#F2FA6B #6BFABB #736BFA #FA6BAA
split-complementary
#F2FA6B #6BAAFA #BB6BFA
monochromatic
#D7E308 #EDF830 #F2FA6B #F7FCA6 #FCFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2FA6B#FFFFFF#000000##000000
##F2FA6B1.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)
#FFF05B
Deuteranopia (green-blind)
#FFF373
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2fa6b;
/* rgb */ color: rgb(242, 250, 107);
/* oklch */ color: oklch(95.2% 0.165 112.1);
Tailwind
colors: {
  custom: {
    50: '#f9fb9a',
    500: '#f2fa6b',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa6b;
$custom-light: #f9fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa6b",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 107
  },
  "hsl": {
    "h": 63.357,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.9522,
    "c": 0.1646,
    "h": 112.1
  },
  "luminance": 0.8831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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