#F2F779#F2F779

#F2F779 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.7% C 0.149 H 111.0°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#F2F779
RGBrgb(242, 247, 121)
HSLhsl(62, 89%, 72%)
HSVhsv(62, 51%, 97%)
CMYKcmyk(2%, 0%, 51%, 3.1%)
CIE-LABlab(94.65, -18.33, 59.23)
CIE-LCHlch(94.65, 62.01, 107.20°)
OKLaboklab(94.75% -0.0534 0.1392)
OKLCHoklch(94.75% 0.149 111)
XYZxyz(73.3315, 86.7808, 30.9729)
Luminance0.8678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F779 #7E79F7
analogous
#F7BD79 #F2F779 #B3F779
triadic
#F2F779 #79F2F7 #F779F2
tetradic
#F2F779 #79F7BD #7E79F7 #F779B3
square
#F2F779 #79F7BD #7E79F7 #F779B3
split-complementary
#F2F779 #79B3F7 #BD79F7
monochromatic
#DFE80E #ECF43F #F2F779 #F8FAB3 #FCFDE2

Accessibility & contrast

On white

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

On black

18.36
#F2F779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F779
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F779#FFFFFF#000000##000000
##F2F7791.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6D
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f779;
/* rgb */ color: rgb(242, 247, 121);
/* oklch */ color: oklch(94.7% 0.149 111.0);
Tailwind
colors: {
  custom: {
    50: '#f9f9a3',
    500: '#f2f779',
    950: '#000000',
  },
}
SCSS
$custom: #f2f779;
$custom-light: #f9f9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f779",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 121
  },
  "hsl": {
    "h": 62.381,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94747,
    "c": 0.14912,
    "h": 111
  },
  "luminance": 0.86779
}

Semantic roles & 50–950 ramp

primary
#F2F779
secondary
#4741D3
accent
#00E509
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F779

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

Preview Lab → · Contrast checker → · Palette generator →

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