#F2E779#F2E779

#F2E779 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.5% C 0.132 H 103.6°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#F2E779
RGBrgb(242, 231, 121)
HSLhsl(55, 82%, 71%)
HSVhsv(55, 50%, 95%)
CMYKcmyk(0%, 4.5%, 50%, 5.1%)
CIE-LABlab(90.51, -10.49, 54.35)
CIE-LCHlch(90.51, 55.36, 100.93°)
OKLaboklab(91.46% -0.031 0.1286)
OKLCHoklch(91.46% 0.132 103.6)
XYZxyz(68.6470, 77.4117, 29.4113)
Luminance0.7741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E779 #7984F2
analogous
#F2AA79 #F2E779 #C0F279
triadic
#F2E779 #79F2E7 #E779F2
tetradic
#F2E779 #79F2AA #7984F2 #F279C0
square
#F2E779 #79F2AA #7984F2 #F279C0
split-complementary
#F2E779 #79C0F2 #AA79F2
monochromatic
#DBC915 #EDDD41 #F2E779 #F7F1B1 #FCFAE3

Accessibility & contrast

On white

1.27
#F2E779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#F2E779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E779
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E779#FFFFFF#000000##000000
##F2E7791.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06F
Deuteranopia (green-blind)
#FCE67E
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e779;
/* rgb */ color: rgb(242, 231, 121);
/* oklch */ color: oklch(91.5% 0.132 103.6);
Tailwind
colors: {
  custom: {
    50: '#f8eea2',
    500: '#f2e779',
    950: '#000000',
  },
}
SCSS
$custom: #f2e779;
$custom-light: #f8eea2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e779",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 121
  },
  "hsl": {
    "h": 54.545,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91456,
    "c": 0.13229,
    "h": 103.6
  },
  "luminance": 0.7741
}

Semantic roles & 50–950 ramp

primary
#F2E779
secondary
#434FCC
accent
#1ADF07
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E779

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

Preview Lab → · Contrast checker → · Palette generator →

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