#F2F863#F2F863

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

Color values

HEX#F2F863
RGBrgb(242, 248, 99)
HSLhsl(62, 91%, 68%)
HSVhsv(62, 60%, 97%)
CMYKcmyk(2.4%, 0%, 60.1%, 2.7%)
CIE-LABlab(94.70, -20.45, 68.79)
CIE-LCHlch(94.70, 71.76, 106.55°)
OKLaboklab(94.73% -0.0616 0.1572)
OKLCHoklch(94.73% 0.169 111.4)
XYZxyz(72.4395, 86.9146, 24.7622)
Luminance0.8691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F863 #6963F8
analogous
#F8B363 #F2F863 #A7F863
triadic
#F2F863 #63F2F8 #F863F2
tetradic
#F2F863 #63F8B3 #6963F8 #F863A7
square
#F2F863 #63F8B3 #6963F8 #F863A7
split-complementary
#F2F863 #63A7F8 #B363F8
monochromatic
#CFD70A #EDF528 #F2F863 #F7FB9E #FCFDD8

Accessibility & contrast

On white

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

On black

18.38
#F2F863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F863
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F863#FFFFFF#000000##000000
##F2F8631.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f863;
/* rgb */ color: rgb(242, 248, 99);
/* oklch */ color: oklch(94.7% 0.169 111.4);
Tailwind
colors: {
  custom: {
    50: '#f9fa95',
    500: '#f2f863',
    950: '#000000',
  },
}
SCSS
$custom: #f2f863;
$custom-light: #f9fa95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f863",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 99
  },
  "hsl": {
    "h": 62.416,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94727,
    "c": 0.16884,
    "h": 111.4
  },
  "luminance": 0.86913
}

Semantic roles & 50–950 ramp

primary
#F2F863
secondary
#352ED1
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F863

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

Preview Lab → · Contrast checker → · Palette generator →

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