#F2F574#F2F574

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

Color values

HEX#F2F574
RGBrgb(242, 245, 116)
HSLhsl(61, 87%, 71%)
HSVhsv(61, 53%, 96%)
CMYKcmyk(1.2%, 0%, 52.7%, 3.9%)
CIE-LABlab(94.07, -17.77, 60.81)
CIE-LCHlch(94.07, 63.36, 106.29°)
OKLaboklab(94.28% -0.0523 0.1422)
OKLCHoklch(94.28% 0.151 110.2)
XYZxyz(72.4245, 85.4447, 29.1969)
Luminance0.8544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F574 #7774F5
analogous
#F5B774 #F2F574 #B1F574
triadic
#F2F574 #74F2F5 #F574F2
tetradic
#F2F574 #74F5B7 #7774F5 #F574B1
square
#F2F574 #74F5B7 #7774F5 #F574B1
split-complementary
#F2F574 #74B1F5 #B774F5
monochromatic
#DADF10 #EDF13B #F2F574 #F7F9AD #FCFDE2

Accessibility & contrast

On white

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

On black

18.09
#F2F574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F574
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F574#FFFFFF#000000##000000
##F2F5741.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f574;
/* rgb */ color: rgb(242, 245, 116);
/* oklch */ color: oklch(94.3% 0.151 110.2);
Tailwind
colors: {
  custom: {
    50: '#f9f8a0',
    500: '#f2f574',
    950: '#000000',
  },
}
SCSS
$custom: #f2f574;
$custom-light: #f9f8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f574",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 116
  },
  "hsl": {
    "h": 61.395,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94275,
    "c": 0.15147,
    "h": 110.2
  },
  "luminance": 0.85443
}

Semantic roles & 50–950 ramp

primary
#F2F574
secondary
#413ED0
accent
#02E308
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F574

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

Preview Lab → · Contrast checker → · Palette generator →

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