#F2F570#F2F570

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

Color values

HEX#F2F570
RGBrgb(242, 245, 112)
HSLhsl(61, 87%, 70%)
HSVhsv(61, 54%, 96%)
CMYKcmyk(1.2%, 0%, 54.3%, 3.9%)
CIE-LABlab(94.04, -18.08, 62.54)
CIE-LCHlch(94.04, 65.10, 106.13°)
OKLaboklab(94.23% -0.0536 0.1454)
OKLCHoklch(94.23% 0.155 110.2)
XYZxyz(72.1968, 85.3536, 27.9978)
Luminance0.8535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F570 #7370F5
analogous
#F5B570 #F2F570 #B0F570
triadic
#F2F570 #70F2F5 #F570F2
tetradic
#F2F570 #70F5B5 #7370F5 #F570B0
square
#F2F570 #70F5B5 #7370F5 #F570B0
split-complementary
#F2F570 #70B0F5 #B570F5
monochromatic
#D7DB0F #EDF137 #F2F570 #F7F9A9 #FCFDE2

Accessibility & contrast

On white

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

On black

18.07
#F2F570 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F570
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F570#FFFFFF#000000##000000
##F2F5701.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f570;
/* rgb */ color: rgb(242, 245, 112);
/* oklch */ color: oklch(94.2% 0.155 110.2);
Tailwind
colors: {
  custom: {
    50: '#f9f89d',
    500: '#f2f570',
    950: '#000000',
  },
}
SCSS
$custom: #f2f570;
$custom-light: #f9f89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f570",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 112
  },
  "hsl": {
    "h": 61.353,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.94232,
    "c": 0.15499,
    "h": 110.2
  },
  "luminance": 0.85352
}

Semantic roles & 50–950 ramp

primary
#F2F570
secondary
#3D3ACF
accent
#02E307
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F570

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

Preview Lab → · Contrast checker → · Palette generator →

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