#F2FA57#F2FA57

#F2FA57 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.0% C 0.180 H 112.1°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#F2FA57
RGBrgb(242, 250, 87)
HSLhsl(63, 94%, 66%)
HSVhsv(63, 65%, 98%)
CMYKcmyk(3.2%, 0%, 65.2%, 2%)
CIE-LABlab(95.13, -22.13, 73.95)
CIE-LCHlch(95.13, 77.19, 106.66°)
OKLaboklab(95.04% -0.0675 0.1664)
OKLCHoklch(95.04% 0.18 112.1)
XYZxyz(72.5260, 87.9382, 22.1682)
Luminance0.8794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA57 #5F57FA
analogous
#FAB057 #F2FA57 #A0FA57
triadic
#F2FA57 #57F2FA #FA57F2
tetradic
#F2FA57 #57FAB0 #5F57FA #FA57A0
square
#F2FA57 #57FAB0 #5F57FA #FA57A0
split-complementary
#F2FA57 #57A0FA #B057FA
monochromatic
#C6D006 #EDF81C #F2FA57 #F7FC92 #FBFECE

Accessibility & contrast

On white

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

On black

18.59
#F2FA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA57
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA57#FFFFFF#000000##000000
##F2FA571.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF40
Deuteranopia (green-blind)
#FFF362
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2fa57;
/* rgb */ color: rgb(242, 250, 87);
/* oklch */ color: oklch(95.0% 0.180 112.1);
Tailwind
colors: {
  custom: {
    50: '#fafb8e',
    500: '#f2fa57',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa57;
$custom-light: #fafb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa57",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 62.945,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95044,
    "c": 0.1796,
    "h": 112.1
  },
  "luminance": 0.87937
}

Semantic roles & 50–950 ramp

primary
#F2FA57
secondary
#322ACB
accent
#00E60B
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2FA57

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

Preview Lab → · Contrast checker → · Palette generator →

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