#F2F578#F2F578

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

Color values

HEX#F2F578
RGBrgb(242, 245, 120)
HSLhsl(61, 86%, 72%)
HSVhsv(61, 51%, 96%)
CMYKcmyk(1.2%, 0%, 51%, 3.9%)
CIE-LABlab(94.12, -17.45, 59.07)
CIE-LCHlch(94.12, 61.59, 106.46°)
OKLaboklab(94.32% -0.051 0.1388)
OKLCHoklch(94.32% 0.148 110.2)
XYZxyz(72.6622, 85.5398, 30.4488)
Luminance0.8554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F578 #7B78F5
analogous
#F5BA78 #F2F578 #B4F578
triadic
#F2F578 #78F2F5 #F578F2
tetradic
#F2F578 #78F5BA #7B78F5 #F578B4
square
#F2F578 #78F5BA #7B78F5 #F578B4
split-complementary
#F2F578 #78B4F5 #BA78F5
monochromatic
#DDE211 #EDF13F #F2F578 #F7F9B1 #FCFDE3

Accessibility & contrast

On white

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

On black

18.11
#F2F578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F578
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F578#FFFFFF#000000##000000
##F2F5781.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f578;
/* rgb */ color: rgb(242, 245, 120);
/* oklch */ color: oklch(94.3% 0.148 110.2);
Tailwind
colors: {
  custom: {
    50: '#f9f8a2',
    500: '#f2f578',
    950: '#000000',
  },
}
SCSS
$custom: #f2f578;
$custom-light: #f9f8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f578",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 120
  },
  "hsl": {
    "h": 61.44,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94321,
    "c": 0.14783,
    "h": 110.2
  },
  "luminance": 0.85538
}

Semantic roles & 50–950 ramp

primary
#F2F578
secondary
#4541D0
accent
#03E308
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F578

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

Preview Lab → · Contrast checker → · Palette generator →

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