#F2F57F#F2F57F

#F2F57F is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.4% C 0.141 H 110.1°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#F2F57F
RGBrgb(242, 245, 127)
HSLhsl(62, 86%, 73%)
HSVhsv(62, 48%, 96%)
CMYKcmyk(1.2%, 0%, 48.2%, 3.9%)
CIE-LABlab(94.19, -16.85, 55.96)
CIE-LCHlch(94.19, 58.44, 106.76°)
OKLaboklab(94.41% -0.0486 0.1326)
OKLCHoklch(94.41% 0.141 110.1)
XYZxyz(73.1026, 85.7159, 32.7685)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F57F #827FF5
analogous
#F5BD7F #F2F57F #B7F57F
triadic
#F2F57F #7FF2F5 #F57FF2
tetradic
#F2F57F #7FF5BD #827FF5 #F57FB7
square
#F2F57F #7FF5BD #827FF5 #F57FB7
split-complementary
#F2F57F #7FB7F5 #BD7FF5
monochromatic
#E2E812 #ECF146 #F2F57F #F8F9B8 #FCFDE3

Accessibility & contrast

On white

1.16
#F2F57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#F2F57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F57F
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F57F#FFFFFF#000000##000000
##F2F57F1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC74
Deuteranopia (green-blind)
#FFF085
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f57f;
/* rgb */ color: rgb(242, 245, 127);
/* oklch */ color: oklch(94.4% 0.141 110.1);
Tailwind
colors: {
  custom: {
    50: '#f8f8a7',
    500: '#f2f57f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f57f;
$custom-light: #f8f8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f57f",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 127
  },
  "hsl": {
    "h": 61.525,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94406,
    "c": 0.14124,
    "h": 110.1
  },
  "luminance": 0.85714
}

Semantic roles & 50–950 ramp

primary
#F2F57F
secondary
#4B47D1
accent
#03E209
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #F2F57F

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

Preview Lab → · Contrast checker → · Palette generator →

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