#F2FA74#F2FA74

#F2FA74 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.3% C 0.157 H 112.1°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#F2FA74
RGBrgb(242, 250, 116)
HSLhsl(64, 93%, 72%)
HSVhsv(64, 54%, 98%)
CMYKcmyk(3.2%, 0%, 53.6%, 2%)
CIE-LABlab(95.38, -20.18, 62.31)
CIE-LCHlch(95.38, 65.50, 107.95°)
OKLaboklab(95.31% -0.0591 0.1454)
OKLCHoklch(95.31% 0.157 112.1)
XYZxyz(73.9576, 88.5109, 29.7080)
Luminance0.8851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA74 #7C74FA
analogous
#FABF74 #F2FA74 #AFFA74
triadic
#F2FA74 #74F2FA #FA74F2
tetradic
#F2FA74 #74FABF #7C74FA #FA74AF
square
#F2FA74 #74FABF #7C74FA #FA74AF
split-complementary
#F2FA74 #74AFFA #BF74FA
monochromatic
#DEEB08 #ECF839 #F2FA74 #F8FCAF #FCFEE1

Accessibility & contrast

On white

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

On black

18.70
#F2FA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA74
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA74#FFFFFF#000000##000000
##F2FA741.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF067
Deuteranopia (green-blind)
#FFF37B
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa74;
/* rgb */ color: rgb(242, 250, 116);
/* oklch */ color: oklch(95.3% 0.157 112.1);
Tailwind
colors: {
  custom: {
    50: '#f9fba0',
    500: '#f2fa74',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa74;
$custom-light: #f9fba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa74",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 63.582,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95314,
    "c": 0.15693,
    "h": 112.1
  },
  "luminance": 0.88509
}

Semantic roles & 50–950 ramp

primary
#F2FA74
secondary
#453CD6
accent
#00E60E
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FA74

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

Preview Lab → · Contrast checker → · Palette generator →

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