#F2F784#F2F784

#F2F784 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.9% C 0.139 H 111.0°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#F2F784
RGBrgb(242, 247, 132)
HSLhsl(63, 88%, 74%)
HSVhsv(63, 47%, 97%)
CMYKcmyk(2%, 0%, 46.6%, 3.1%)
CIE-LABlab(94.77, -17.37, 54.33)
CIE-LCHlch(94.77, 57.04, 107.73°)
OKLaboklab(94.88% -0.0496 0.1294)
OKLCHoklch(94.88% 0.139 111)
XYZxyz(74.0449, 87.0662, 34.7302)
Luminance0.8707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F784 #8984F7
analogous
#F7C384 #F2F784 #B9F784
triadic
#F2F784 #84F2F7 #F784F2
tetradic
#F2F784 #84F7C3 #8984F7 #F784B9
square
#F2F784 #84F7C3 #8984F7 #F784B9
split-complementary
#F2F784 #84B9F7 #C384F7
monochromatic
#E6F011 #ECF34B #F2F784 #F8FBBD #FCFDE2

Accessibility & contrast

On white

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

On black

18.41
#F2F784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F784
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F784#FFFFFF#000000##000000
##F2F7841.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7A
Deuteranopia (green-blind)
#FFF28A
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f784;
/* rgb */ color: rgb(242, 247, 132);
/* oklch */ color: oklch(94.9% 0.139 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f9aa',
    500: '#f2f784',
    950: '#000000',
  },
}
SCSS
$custom: #f2f784;
$custom-light: #f8f9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f784",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 132
  },
  "hsl": {
    "h": 62.609,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94883,
    "c": 0.13861,
    "h": 111
  },
  "luminance": 0.87065
}

Semantic roles & 50–950 ramp

primary
#F2F784
secondary
#514BD4
accent
#01E40B
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F784

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

Preview Lab → · Contrast checker → · Palette generator →

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