#F2F979#F2F979

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

Color values

HEX#F2F979
RGBrgb(242, 249, 121)
HSLhsl(63, 91%, 73%)
HSVhsv(63, 51%, 98%)
CMYKcmyk(2.8%, 0%, 51.4%, 2.4%)
CIE-LABlab(95.17, -19.30, 59.84)
CIE-LCHlch(95.17, 62.88, 107.87°)
OKLaboklab(95.16% -0.0561 0.1405)
OKLCHoklch(95.16% 0.151 111.8)
XYZxyz(73.9464, 88.0106, 31.1778)
Luminance0.8801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F979 #8079F9
analogous
#F9C079 #F2F979 #B2F979
triadic
#F2F979 #79F2F9 #F979F2
tetradic
#F2F979 #79F9C0 #8079F9 #F979B2
square
#F2F979 #79F9C0 #8079F9 #F979B2
split-complementary
#F2F979 #79B2F9 #C079F9
monochromatic
#E1ED0B #ECF63E #F2F979 #F8FCB4 #FCFEE2

Accessibility & contrast

On white

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

On black

18.60
#F2F979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F979
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F979#FFFFFF#000000##000000
##F2F9791.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6D
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f979;
/* rgb */ color: rgb(242, 249, 121);
/* oklch */ color: oklch(95.2% 0.151 111.8);
Tailwind
colors: {
  custom: {
    50: '#f9fba3',
    500: '#f2f979',
    950: '#000000',
  },
}
SCSS
$custom: #f2f979;
$custom-light: #f9fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f979",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 121
  },
  "hsl": {
    "h": 63.281,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95162,
    "c": 0.15133,
    "h": 111.8
  },
  "luminance": 0.88009
}

Semantic roles & 50–950 ramp

primary
#F2F979
secondary
#4941D5
accent
#00E60D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F979

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

Preview Lab → · Contrast checker → · Palette generator →

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