#F2F66C#F2F66C

#F2F66C is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.4% C 0.159 H 110.6°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#F2F66C
RGBrgb(242, 246, 108)
HSLhsl(62, 88%, 69%)
HSVhsv(62, 56%, 96%)
CMYKcmyk(1.6%, 0%, 56.1%, 3.5%)
CIE-LABlab(94.26, -18.86, 64.52)
CIE-LCHlch(94.26, 67.22, 106.29°)
OKLaboklab(94.4% -0.0562 0.1493)
OKLCHoklch(94.4% 0.159 110.6)
XYZxyz(72.2824, 85.8732, 26.9520)
Luminance0.8587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F66C #706CF6
analogous
#F6B56C #F2F66C #ADF66C
triadic
#F2F66C #6CF2F6 #F66CF2
tetradic
#F2F66C #6CF6B5 #706CF6 #F66CAD
square
#F2F66C #6CF6B5 #706CF6 #F66CAD
split-complementary
#F2F66C #6CADF6 #B56CF6
monochromatic
#D4DA0D #EDF232 #F2F66C #F7FAA6 #FCFDDF

Accessibility & contrast

On white

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

On black

18.17
#F2F66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F66C
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F66C#FFFFFF#000000##000000
##F2F66C1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f66c;
/* rgb */ color: rgb(242, 246, 108);
/* oklch */ color: oklch(94.4% 0.159 110.6);
Tailwind
colors: {
  custom: {
    50: '#f9f99b',
    500: '#f2f66c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f66c;
$custom-light: #f9f99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f66c",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 108
  },
  "hsl": {
    "h": 61.739,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94397,
    "c": 0.15948,
    "h": 110.6
  },
  "luminance": 0.85871
}

Semantic roles & 50–950 ramp

primary
#F2F66C
secondary
#3B36D0
accent
#00E507
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F66C

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

Preview Lab → · Contrast checker → · Palette generator →

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