#F2F664#F2F664

#F2F664 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.3% C 0.166 H 110.7°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#F2F664
RGBrgb(242, 246, 100)
HSLhsl(62, 89%, 68%)
HSVhsv(62, 59%, 96%)
CMYKcmyk(1.6%, 0%, 59.3%, 3.5%)
CIE-LABlab(94.19, -19.42, 67.82)
CIE-LCHlch(94.19, 70.55, 105.98°)
OKLaboklab(94.32% -0.0586 0.1553)
OKLCHoklch(94.32% 0.166 110.7)
XYZxyz(71.8760, 85.7106, 24.8117)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F664 #6864F6
analogous
#F6B164 #F2F664 #A9F664
triadic
#F2F664 #64F2F6 #F664F2
tetradic
#F2F664 #64F6B1 #6864F6 #F664A9
square
#F2F664 #64F6B1 #6864F6 #F664A9
split-complementary
#F2F664 #64A9F6 #B164F6
monochromatic
#CED30C #EDF32A #F2F664 #F7F99E #FCFDD8

Accessibility & contrast

On white

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

On black

18.14
#F2F664 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F664
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F664#FFFFFF#000000##000000
##F2F6641.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC53
Deuteranopia (green-blind)
#FFF06D
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f664;
/* rgb */ color: rgb(242, 246, 100);
/* oklch */ color: oklch(94.3% 0.166 110.7);
Tailwind
colors: {
  custom: {
    50: '#f9f996',
    500: '#f2f664',
    950: '#000000',
  },
}
SCSS
$custom: #f2f664;
$custom-light: #f9f996;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f664",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 100
  },
  "hsl": {
    "h": 61.644,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.94319,
    "c": 0.16597,
    "h": 110.7
  },
  "luminance": 0.85709
}

Semantic roles & 50–950 ramp

primary
#F2F664
secondary
#3430CE
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F664

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

Preview Lab → · Contrast checker → · Palette generator →

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