#F2F557#F2F557

#F2F557 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.0% C 0.175 H 110.4°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#F2F557
RGBrgb(242, 245, 87)
HSLhsl(61, 89%, 65%)
HSVhsv(61, 64%, 96%)
CMYKcmyk(1.2%, 0%, 64.5%, 3.9%)
CIE-LABlab(93.83, -19.74, 72.61)
CIE-LCHlch(93.83, 75.25, 105.21°)
OKLaboklab(94% -0.0608 0.1636)
OKLCHoklch(94% 0.175 110.4)
XYZxyz(70.9929, 84.8721, 21.6572)
Luminance0.8487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F557 #5A57F5
analogous
#F5A957 #F2F557 #A3F557
triadic
#F2F557 #57F2F5 #F557F2
tetradic
#F2F557 #57F5A9 #5A57F5 #F557A3
square
#F2F557 #57F5A9 #5A57F5 #F557A3
split-complementary
#F2F557 #57A3F5 #A957F5
monochromatic
#C2C60C #EEF21D #F2F557 #F6F891 #FBFCCB

Accessibility & contrast

On white

1.17
#F2F557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.97
#F2F557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F557
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F557#FFFFFF#000000##000000
##F2F5571.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB41
Deuteranopia (green-blind)
#FFF062
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f557;
/* rgb */ color: rgb(242, 245, 87);
/* oklch */ color: oklch(94.0% 0.175 110.4);
Tailwind
colors: {
  custom: {
    50: '#faf88e',
    500: '#f2f557',
    950: '#000000',
  },
}
SCSS
$custom: #f2f557;
$custom-light: #faf88e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f557",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 87
  },
  "hsl": {
    "h": 61.139,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.94,
    "c": 0.17453,
    "h": 110.4
  },
  "luminance": 0.8487
}

Semantic roles & 50–950 ramp

primary
#F2F557
secondary
#302DC3
accent
#00E504
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F557

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

Preview Lab → · Contrast checker → · Palette generator →

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