#F2FC74#F2FC74

#F2FC74 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.7% C 0.159 H 112.9°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#F2FC74
RGBrgb(242, 252, 116)
HSLhsl(64, 96%, 72%)
HSVhsv(64, 54%, 99%)
CMYKcmyk(4%, 0%, 54%, 1.2%)
CIE-LABlab(95.90, -21.14, 62.91)
CIE-LCHlch(95.90, 66.36, 108.57°)
OKLaboklab(95.73% -0.0618 0.1467)
OKLCHoklch(95.73% 0.159 112.9)
XYZxyz(74.5823, 89.7604, 29.9162)
Luminance0.8976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC74 #7E74FC
analogous
#FCC274 #F2FC74 #AEFC74
triadic
#F2FC74 #74F2FC #FC74F2
tetradic
#F2FC74 #74FCC2 #7E74FC #FC74AE
square
#F2FC74 #74FCC2 #7E74FC #FC74AE
split-complementary
#F2FC74 #74AEFC #C274FC
monochromatic
#DFF005 #ECFB38 #F2FC74 #F8FDB0 #FCFEE1

Accessibility & contrast

On white

1.11
#F2FC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.95
#F2FC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC74
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC74#FFFFFF#000000##000000
##F2FC741.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF266
Deuteranopia (green-blind)
#FFF57C
Tritanopia (blue-blind)
#FFEFDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc74;
/* rgb */ color: rgb(242, 252, 116);
/* oklch */ color: oklch(95.7% 0.159 112.9);
Tailwind
colors: {
  custom: {
    50: '#f9fda0',
    500: '#f2fc74',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc74;
$custom-light: #f9fda0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc74",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 116
  },
  "hsl": {
    "h": 64.412,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95731,
    "c": 0.15916,
    "h": 112.9
  },
  "luminance": 0.89759
}

Semantic roles & 50–950 ramp

primary
#F2FC74
secondary
#473CD8
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FC74

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

Preview Lab → · Contrast checker → · Palette generator →

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