#F0E778#F0E778

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

Color values

HEX#F0E778
RGBrgb(240, 231, 120)
HSLhsl(56, 80%, 71%)
HSVhsv(56, 50%, 94%)
CMYKcmyk(0%, 3.7%, 50%, 5.9%)
CIE-LABlab(90.34, -11.37, 54.58)
CIE-LCHlch(90.34, 55.75, 101.77°)
OKLaboklab(91.28% -0.0335 0.129)
OKLCHoklch(91.28% 0.133 104.6)
XYZxyz(67.9031, 77.0352, 29.0580)
Luminance0.7703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E778 #7881F0
analogous
#F0AB78 #F0E778 #BDF078
triadic
#F0E778 #78F0E7 #E778F0
tetradic
#F0E778 #78F0AB #7881F0 #F078BD
square
#F0E778 #78F0AB #7881F0 #F078BD
split-complementary
#F0E778 #78BDF0 #AB78F0
monochromatic
#D6C818 #EADD41 #F0E778 #F6F1AF #FCFAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0E778#FFFFFF#000000##000000
##F0E7781.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)
#F8E06E
Deuteranopia (green-blind)
#FBE67D
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0e778;
/* rgb */ color: rgb(240, 231, 120);
/* oklch */ color: oklch(91.3% 0.133 104.6);
Tailwind
colors: {
  custom: {
    50: '#f7eea1',
    500: '#f0e778',
    950: '#000000',
  },
}
SCSS
$custom: #f0e778;
$custom-light: #f7eea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e778",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 55.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91276,
    "c": 0.13331,
    "h": 104.6
  },
  "luminance": 0.77033
}

Semantic roles & 50–950 ramp

primary
#F0E778
secondary
#424DCA
accent
#19DC09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E778

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

Preview Lab → · Contrast checker → · Palette generator →

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