#F2F980#F2F980

#F2F980 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.2% C 0.145 H 111.8°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#F2F980
RGBrgb(242, 249, 128)
HSLhsl(63, 91%, 74%)
HSVhsv(63, 49%, 98%)
CMYKcmyk(2.8%, 0%, 48.6%, 2.4%)
CIE-LABlab(95.24, -18.70, 56.75)
CIE-LCHlch(95.24, 59.75, 108.24°)
OKLaboklab(95.25% -0.0538 0.1344)
OKLCHoklch(95.25% 0.145 111.8)
XYZxyz(74.3913, 88.1885, 33.5211)
Luminance0.8819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F980 #8780F9
analogous
#F9C480 #F2F980 #B6F980
triadic
#F2F980 #80F2F9 #F980F2
tetradic
#F2F980 #80F9C4 #8780F9 #F980B6
square
#F2F980 #80F9C4 #8780F9 #F980B6
split-complementary
#F2F980 #80B6F9 #C480F9
monochromatic
#E6F30B #ECF646 #F2F980 #F8FCBA #FCFEE2

Accessibility & contrast

On white

1.13
#F2F980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#F2F980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F980
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F980#FFFFFF#000000##000000
##F2F9801.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF075
Deuteranopia (green-blind)
#FFF386
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f980;
/* rgb */ color: rgb(242, 249, 128);
/* oklch */ color: oklch(95.2% 0.145 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8fba7',
    500: '#f2f980',
    950: '#000000',
  },
}
SCSS
$custom: #f2f980;
$custom-light: #f8fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f980",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 63.471,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95246,
    "c": 0.14478,
    "h": 111.8
  },
  "luminance": 0.88187
}

Semantic roles & 50–950 ramp

primary
#F2F980
secondary
#4F47D6
accent
#00E60D
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F980

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

Preview Lab → · Contrast checker → · Palette generator →

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