#F4FA57#F4FA57

#F4FA57 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.2% C 0.179 H 111.4°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F4FA57
RGBrgb(244, 250, 87)
HSLhsl(62, 94%, 66%)
HSVhsv(62, 65%, 98%)
CMYKcmyk(2.4%, 0%, 65.2%, 2%)
CIE-LABlab(95.28, -21.33, 74.16)
CIE-LCHlch(95.28, 77.16, 106.05°)
OKLaboklab(95.2% -0.0654 0.1668)
OKLCHoklch(95.2% 0.179 111.4)
XYZxyz(73.2164, 88.2942, 22.2006)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4FA57 #5D57FA
analogous
#FAAF57 #F4FA57 #A2FA57
triadic
#F4FA57 #57F4FA #FA57F4
tetradic
#F4FA57 #57FAAF #5D57FA #FA57A2
square
#F4FA57 #57FAAF #5D57FA #FA57A2
split-complementary
#F4FA57 #57A2FA #AF57FA
monochromatic
#C9D006 #F0F81C #F4FA57 #F8FC92 #FCFECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F4FA57#FFFFFF#000000##000000
##F4FA571.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)
#FFEF40
Deuteranopia (green-blind)
#FFF462
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f4fa57;
/* rgb */ color: rgb(244, 250, 87);
/* oklch */ color: oklch(95.2% 0.179 111.4);
Tailwind
colors: {
  custom: {
    50: '#fbfb8e',
    500: '#f4fa57',
    950: '#000000',
  },
}
SCSS
$custom: #f4fa57;
$custom-light: #fbfb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4fa57",
  "rgb": {
    "r": 244,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 62.209,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95201,
    "c": 0.17915,
    "h": 111.4
  },
  "luminance": 0.88292
}

Semantic roles & 50–950 ramp

primary
#F4FA57
secondary
#302ACB
accent
#00E608
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F4FA57

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

Preview Lab → · Contrast checker → · Palette generator →

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