#F2F573#F2F573

#F2F573 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.3% C 0.152 H 110.2°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#F2F573
RGBrgb(242, 245, 115)
HSLhsl(61, 87%, 71%)
HSVhsv(61, 53%, 96%)
CMYKcmyk(1.2%, 0%, 53.1%, 3.9%)
CIE-LABlab(94.06, -17.85, 61.25)
CIE-LCHlch(94.06, 63.79, 106.25°)
OKLaboklab(94.26% -0.0526 0.143)
OKLCHoklch(94.26% 0.152 110.2)
XYZxyz(72.3666, 85.4215, 28.8922)
Luminance0.8542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F573 #7673F5
analogous
#F5B773 #F2F573 #B1F573
triadic
#F2F573 #73F2F5 #F573F2
tetradic
#F2F573 #73F5B7 #7673F5 #F573B1
square
#F2F573 #73F5B7 #7673F5 #F573B1
split-complementary
#F2F573 #73B1F5 #B773F5
monochromatic
#D9DE10 #EDF13A #F2F573 #F7F9AC #FCFDE2

Accessibility & contrast

On white

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

On black

18.08
#F2F573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F573
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F573#FFFFFF#000000##000000
##F2F5731.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC66
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f573;
/* rgb */ color: rgb(242, 245, 115);
/* oklch */ color: oklch(94.3% 0.152 110.2);
Tailwind
colors: {
  custom: {
    50: '#f9f89f',
    500: '#f2f573',
    950: '#000000',
  },
}
SCSS
$custom: #f2f573;
$custom-light: #f9f89f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f573",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 115
  },
  "hsl": {
    "h": 61.385,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94264,
    "c": 0.15236,
    "h": 110.2
  },
  "luminance": 0.8542
}

Semantic roles & 50–950 ramp

primary
#F2F573
secondary
#403DCF
accent
#02E307
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F573

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

Preview Lab → · Contrast checker → · Palette generator →

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