#F2F566#F2F566

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

Color values

HEX#F2F566
RGBrgb(242, 245, 102)
HSLhsl(61, 88%, 68%)
HSVhsv(61, 58%, 96%)
CMYKcmyk(1.2%, 0%, 58.4%, 3.9%)
CIE-LABlab(93.94, -18.80, 66.72)
CIE-LCHlch(93.94, 69.32, 105.74°)
OKLaboklab(94.13% -0.0566 0.1532)
OKLCHoklch(94.13% 0.163 110.3)
XYZxyz(71.6706, 85.1431, 25.2266)
Luminance0.8514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F566 #6966F5
analogous
#F5B166 #F2F566 #AAF566
triadic
#F2F566 #66F2F5 #F566F2
tetradic
#F2F566 #66F5B1 #6966F5 #F566AA
square
#F2F566 #66F5B1 #6966F5 #F566AA
split-complementary
#F2F566 #66AAF5 #B166F5
monochromatic
#CFD30E #EDF12D #F2F566 #F7F99F #FCFDD9

Accessibility & contrast

On white

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

On black

18.03
#F2F566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F566
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F566#FFFFFF#000000##000000
##F2F5661.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f566;
/* rgb */ color: rgb(242, 245, 102);
/* oklch */ color: oklch(94.1% 0.163 110.3);
Tailwind
colors: {
  custom: {
    50: '#f9f897',
    500: '#f2f566',
    950: '#000000',
  },
}
SCSS
$custom: #f2f566;
$custom-light: #f9f897;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f566",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 102
  },
  "hsl": {
    "h": 61.259,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.9413,
    "c": 0.16334,
    "h": 110.3
  },
  "luminance": 0.85141
}

Semantic roles & 50–950 ramp

primary
#F2F566
secondary
#3531CE
accent
#01E406
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F566

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

Preview Lab → · Contrast checker → · Palette generator →

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