#F2FA7B#F2FA7B

#F2FA7B is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.4% C 0.151 H 112.2°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F2FA7B
RGBrgb(242, 250, 123)
HSLhsl(64, 93%, 73%)
HSVhsv(64, 51%, 98%)
CMYKcmyk(3.2%, 0%, 50.8%, 2%)
CIE-LABlab(95.45, -19.61, 59.27)
CIE-LCHlch(95.45, 62.43, 108.31°)
OKLaboklab(95.39% -0.0568 0.1395)
OKLCHoklch(95.39% 0.151 112.2)
XYZxyz(74.3802, 88.6799, 31.9337)
Luminance0.8868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA7B #837BFA
analogous
#FAC37B #F2FA7B #B2FA7B
triadic
#F2FA7B #7BF2FA #FA7BF2
tetradic
#F2FA7B #7BFAC3 #837BFA #FA7BB2
square
#F2FA7B #7BFAC3 #837BFA #FA7BB2
split-complementary
#F2FA7B #7BB2FA #C37BFA
monochromatic
#E3F109 #ECF840 #F2FA7B #F8FCB6 #FCFEE2

Accessibility & contrast

On white

1.12
#F2FA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#F2FA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA7B
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA7B#FFFFFF#000000##000000
##F2FA7B1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06F
Deuteranopia (green-blind)
#FFF482
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa7b;
/* rgb */ color: rgb(242, 250, 123);
/* oklch */ color: oklch(95.4% 0.151 112.2);
Tailwind
colors: {
  custom: {
    50: '#f8fba4',
    500: '#f2fa7b',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa7b;
$custom-light: #f8fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa7b",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 63.78,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95393,
    "c": 0.15062,
    "h": 112.2
  },
  "luminance": 0.88679
}

Semantic roles & 50–950 ramp

primary
#F2FA7B
secondary
#4C42D7
accent
#00E60E
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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