#F2F864#F2F864

#F2F864 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.7% C 0.168 H 111.4°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#F2F864
RGBrgb(242, 248, 100)
HSLhsl(62, 91%, 68%)
HSVhsv(62, 60%, 97%)
CMYKcmyk(2.4%, 0%, 59.7%, 2.7%)
CIE-LABlab(94.71, -20.38, 68.39)
CIE-LCHlch(94.71, 71.36, 106.59°)
OKLaboklab(94.74% -0.0613 0.1565)
OKLCHoklch(94.74% 0.168 111.4)
XYZxyz(72.4876, 86.9338, 25.0155)
Luminance0.8693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F864 #6A64F8
analogous
#F8B464 #F2F864 #A8F864
triadic
#F2F864 #64F2F8 #F864F2
tetradic
#F2F864 #64F8B4 #6A64F8 #F864A8
square
#F2F864 #64F8B4 #6A64F8 #F864A8
split-complementary
#F2F864 #64A8F8 #B464F8
monochromatic
#CFD80A #EDF529 #F2F864 #F7FB9F #FCFDD9

Accessibility & contrast

On white

1.14
#F2F864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.39
#F2F864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F864
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F864#FFFFFF#000000##000000
##F2F8641.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE53
Deuteranopia (green-blind)
#FFF26D
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f864;
/* rgb */ color: rgb(242, 248, 100);
/* oklch */ color: oklch(94.7% 0.168 111.4);
Tailwind
colors: {
  custom: {
    50: '#f9fa96',
    500: '#f2f864',
    950: '#000000',
  },
}
SCSS
$custom: #f2f864;
$custom-light: #f9fa96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f864",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 100
  },
  "hsl": {
    "h": 62.432,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.94736,
    "c": 0.16806,
    "h": 111.4
  },
  "luminance": 0.86932
}

Semantic roles & 50–950 ramp

primary
#F2F864
secondary
#362FD1
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F864

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

Preview Lab → · Contrast checker → · Palette generator →

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