#F2F575#F2F575

#F2F575 is a very light, vivid yellow. Relative luminance 0.855; 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#F2F575
RGBrgb(242, 245, 117)
HSLhsl(61, 86%, 71%)
HSVhsv(61, 52%, 96%)
CMYKcmyk(1.2%, 0%, 52.2%, 3.9%)
CIE-LABlab(94.08, -17.69, 60.38)
CIE-LCHlch(94.08, 62.92, 106.33°)
OKLaboklab(94.29% -0.052 0.1413)
OKLCHoklch(94.29% 0.151 110.2)
XYZxyz(72.4830, 85.4681, 29.5049)
Luminance0.8547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F575 #7875F5
analogous
#F5B875 #F2F575 #B2F575
triadic
#F2F575 #75F2F5 #F575F2
tetradic
#F2F575 #75F5B8 #7875F5 #F575B2
square
#F2F575 #75F5B8 #7875F5 #F575B2
split-complementary
#F2F575 #75B2F5 #B875F5
monochromatic
#DBDF10 #EDF13C #F2F575 #F7F9AE #FCFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F575#FFFFFF#000000##000000
##F2F5751.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)
#FFEC68
Deuteranopia (green-blind)
#FFF07C
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f575;
/* rgb */ color: rgb(242, 245, 117);
/* oklch */ color: oklch(94.3% 0.151 110.2);
Tailwind
colors: {
  custom: {
    50: '#f9f8a0',
    500: '#f2f575',
    950: '#000000',
  },
}
SCSS
$custom: #f2f575;
$custom-light: #f9f8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f575",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 117
  },
  "hsl": {
    "h": 61.406,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94287,
    "c": 0.15057,
    "h": 110.2
  },
  "luminance": 0.85466
}

Semantic roles & 50–950 ramp

primary
#F2F575
secondary
#423FD0
accent
#02E308
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F575

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

Preview Lab → · Contrast checker → · Palette generator →

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