#F0E779#F0E779

#F0E779 is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.3% C 0.132 H 104.5°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#F0E779
RGBrgb(240, 231, 121)
HSLhsl(55, 80%, 71%)
HSVhsv(55, 50%, 94%)
CMYKcmyk(0%, 3.7%, 49.6%, 5.9%)
CIE-LABlab(90.35, -11.29, 54.12)
CIE-LCHlch(90.35, 55.29, 101.78°)
OKLaboklab(91.29% -0.0332 0.1281)
OKLCHoklch(91.29% 0.132 104.5)
XYZxyz(67.9641, 77.0596, 29.3793)
Luminance0.7706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E779 #7982F0
analogous
#F0AB79 #F0E779 #BDF079
triadic
#F0E779 #79F0E7 #E779F0
tetradic
#F0E779 #79F0AB #7982F0 #F079BD
square
#F0E779 #79F0AB #7982F0 #F079BD
split-complementary
#F0E779 #79BDF0 #AB79F0
monochromatic
#D7C818 #EADD42 #F0E779 #F6F1B0 #FCFAE3

Accessibility & contrast

On white

1.28
#F0E779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#F0E779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E779
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E779#FFFFFF#000000##000000
##F0E7791.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e779;
/* rgb */ color: rgb(240, 231, 121);
/* oklch */ color: oklch(91.3% 0.132 104.5);
Tailwind
colors: {
  custom: {
    50: '#f7eea2',
    500: '#f0e779',
    950: '#000000',
  },
}
SCSS
$custom: #f0e779;
$custom-light: #f7eea2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e779",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 121
  },
  "hsl": {
    "h": 55.462,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91289,
    "c": 0.13235,
    "h": 104.5
  },
  "luminance": 0.77058
}

Semantic roles & 50–950 ramp

primary
#F0E779
secondary
#434DCA
accent
#19DC09
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E779

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

Preview Lab → · Contrast checker → · Palette generator →

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