#F2F564#F2F564

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

Color values

HEX#F2F564
RGBrgb(242, 245, 100)
HSLhsl(61, 88%, 68%)
HSVhsv(61, 59%, 96%)
CMYKcmyk(1.2%, 0%, 59.2%, 3.9%)
CIE-LABlab(93.93, -18.94, 67.54)
CIE-LCHlch(93.93, 70.14, 105.66°)
OKLaboklab(94.11% -0.0572 0.1547)
OKLCHoklch(94.11% 0.165 110.3)
XYZxyz(71.5726, 85.1040, 24.7106)
Luminance0.8510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F564 #6764F5
analogous
#F5AF64 #F2F564 #AAF564
triadic
#F2F564 #64F2F5 #F564F2
tetradic
#F2F564 #64F5AF #6764F5 #F564AA
square
#F2F564 #64F5AF #6764F5 #F564AA
split-complementary
#F2F564 #64AAF5 #AF64F5
monochromatic
#CDD10D #EDF12B #F2F564 #F7F99D #FCFCD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F564#FFFFFF#000000##000000
##F2F5641.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)
#FFEB53
Deuteranopia (green-blind)
#FFF06D
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f564;
/* rgb */ color: rgb(242, 245, 100);
/* oklch */ color: oklch(94.1% 0.165 110.3);
Tailwind
colors: {
  custom: {
    50: '#f9f896',
    500: '#f2f564',
    950: '#000000',
  },
}
SCSS
$custom: #f2f564;
$custom-light: #f9f896;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f564",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 100
  },
  "hsl": {
    "h": 61.241,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94111,
    "c": 0.16493,
    "h": 110.3
  },
  "luminance": 0.85102
}

Semantic roles & 50–950 ramp

primary
#F2F564
secondary
#3431CC
accent
#01E406
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F564

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

Preview Lab → · Contrast checker → · Palette generator →

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