#F2F563#F2F563

#F2F563 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.1% C 0.166 H 110.3°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#F2F563
RGBrgb(242, 245, 99)
HSLhsl(61, 88%, 67%)
HSVhsv(61, 60%, 96%)
CMYKcmyk(1.2%, 0%, 59.6%, 3.9%)
CIE-LABlab(93.92, -19.00, 67.94)
CIE-LCHlch(93.92, 70.55, 105.63°)
OKLaboklab(94.1% -0.0575 0.1554)
OKLCHoklch(94.1% 0.166 110.3)
XYZxyz(71.5245, 85.0847, 24.4572)
Luminance0.8508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F563 #6663F5
analogous
#F5AF63 #F2F563 #A9F563
triadic
#F2F563 #63F2F5 #F563F2
tetradic
#F2F563 #63F5AF #6663F5 #F563A9
square
#F2F563 #63F5AF #6663F5 #F563A9
split-complementary
#F2F563 #63A9F5 #AF63F5
monochromatic
#CCD00D #EDF129 #F2F563 #F7F99D #FCFCD6

Accessibility & contrast

On white

1.17
#F2F563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#F2F563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F563
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F563#FFFFFF#000000##000000
##F2F5631.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB52
Deuteranopia (green-blind)
#FFF06C
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f563;
/* rgb */ color: rgb(242, 245, 99);
/* oklch */ color: oklch(94.1% 0.166 110.3);
Tailwind
colors: {
  custom: {
    50: '#f9f895',
    500: '#f2f563',
    950: '#000000',
  },
}
SCSS
$custom: #f2f563;
$custom-light: #f9f895;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f563",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 99
  },
  "hsl": {
    "h": 61.233,
    "s": 87.952,
    "l": 67.451
  },
  "oklch": {
    "l": 0.94102,
    "c": 0.16571,
    "h": 110.3
  },
  "luminance": 0.85083
}

Semantic roles & 50–950 ramp

primary
#F2F563
secondary
#3430CC
accent
#01E506
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F563

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

Preview Lab → · Contrast checker → · Palette generator →

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