#F2F565#F2F565

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

Color values

HEX#F2F565
RGBrgb(242, 245, 101)
HSLhsl(61, 88%, 68%)
HSVhsv(61, 59%, 96%)
CMYKcmyk(1.2%, 0%, 58.8%, 3.9%)
CIE-LABlab(93.94, -18.87, 67.13)
CIE-LCHlch(93.94, 69.73, 105.70°)
OKLaboklab(94.12% -0.0569 0.154)
OKLCHoklch(94.12% 0.164 110.3)
XYZxyz(71.6213, 85.1234, 24.9670)
Luminance0.8512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F565 #6865F5
analogous
#F5B065 #F2F565 #AAF565
triadic
#F2F565 #65F2F5 #F565F2
tetradic
#F2F565 #65F5B0 #6865F5 #F565AA
square
#F2F565 #65F5B0 #6865F5 #F565AA
split-complementary
#F2F565 #65AAF5 #B065F5
monochromatic
#CED20E #EDF12C #F2F565 #F7F99E #FCFCD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F565#FFFFFF#000000##000000
##F2F5651.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)
#FFEB54
Deuteranopia (green-blind)
#FFF06E
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f565;
/* rgb */ color: rgb(242, 245, 101);
/* oklch */ color: oklch(94.1% 0.164 110.3);
Tailwind
colors: {
  custom: {
    50: '#f9f896',
    500: '#f2f565',
    950: '#000000',
  },
}
SCSS
$custom: #f2f565;
$custom-light: #f9f896;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f565",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 101
  },
  "hsl": {
    "h": 61.25,
    "s": 87.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.94121,
    "c": 0.16414,
    "h": 110.3
  },
  "luminance": 0.85122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F565

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

Preview Lab → · Contrast checker → · Palette generator →

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