#F2F663#F2F663

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

Color values

HEX#F2F663
RGBrgb(242, 246, 99)
HSLhsl(62, 89%, 68%)
HSVhsv(62, 60%, 96%)
CMYKcmyk(1.6%, 0%, 59.8%, 3.5%)
CIE-LABlab(94.18, -19.48, 68.22)
CIE-LCHlch(94.18, 70.95, 105.94°)
OKLaboklab(94.31% -0.0589 0.156)
OKLCHoklch(94.31% 0.167 110.7)
XYZxyz(71.8279, 85.6914, 24.5583)
Luminance0.8569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F663 #6763F6
analogous
#F6B163 #F2F663 #A8F663
triadic
#F2F663 #63F2F6 #F663F2
tetradic
#F2F663 #63F6B1 #6763F6 #F663A8
square
#F2F663 #63F6B1 #6763F6 #F663A8
split-complementary
#F2F663 #63A8F6 #B163F6
monochromatic
#CDD20C #EDF329 #F2F663 #F7F99D #FCFDD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F663#FFFFFF#000000##000000
##F2F6631.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)
#FFEC52
Deuteranopia (green-blind)
#FFF06C
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f663;
/* rgb */ color: rgb(242, 246, 99);
/* oklch */ color: oklch(94.3% 0.167 110.7);
Tailwind
colors: {
  custom: {
    50: '#f9f995',
    500: '#f2f663',
    950: '#000000',
  },
}
SCSS
$custom: #f2f663;
$custom-light: #f9f995;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f663",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 99
  },
  "hsl": {
    "h": 61.633,
    "s": 89.091,
    "l": 67.647
  },
  "oklch": {
    "l": 0.9431,
    "c": 0.16675,
    "h": 110.7
  },
  "luminance": 0.8569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F663

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

Preview Lab → · Contrast checker → · Palette generator →

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