#F2F782#F2F782

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

Color values

HEX#F2F782
RGBrgb(242, 247, 130)
HSLhsl(63, 88%, 74%)
HSVhsv(63, 47%, 97%)
CMYKcmyk(2%, 0%, 47.4%, 3.1%)
CIE-LABlab(94.74, -17.55, 55.23)
CIE-LCHlch(94.74, 57.95, 107.63°)
OKLaboklab(94.86% -0.0503 0.1313)
OKLCHoklch(94.86% 0.141 111)
XYZxyz(73.9094, 87.0119, 34.0163)
Luminance0.8701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F782 #8782F7
analogous
#F7C282 #F2F782 #B8F782
triadic
#F2F782 #82F2F7 #F782F2
tetradic
#F2F782 #82F7C2 #8782F7 #F782B8
square
#F2F782 #82F7C2 #8782F7 #F782B8
split-complementary
#F2F782 #82B8F7 #C282F7
monochromatic
#E6EF0F #ECF348 #F2F782 #F8FBBC #FCFDE2

Accessibility & contrast

On white

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

On black

18.40
#F2F782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F782
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F782#FFFFFF#000000##000000
##F2F7821.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f782;
/* rgb */ color: rgb(242, 247, 130);
/* oklch */ color: oklch(94.9% 0.141 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f9a9',
    500: '#f2f782',
    950: '#000000',
  },
}
SCSS
$custom: #f2f782;
$custom-light: #f8f9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f782",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 130
  },
  "hsl": {
    "h": 62.564,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94857,
    "c": 0.14057,
    "h": 111
  },
  "luminance": 0.8701
}

Semantic roles & 50–950 ramp

primary
#F2F782
secondary
#4F49D4
accent
#01E50B
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F782

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

Preview Lab → · Contrast checker → · Palette generator →

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