#F8E770#F8E770

#F8E770 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.9% C 0.141 H 101.3°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#F8E770
RGBrgb(248, 231, 112)
HSLhsl(53, 91%, 71%)
HSVhsv(53, 55%, 97%)
CMYKcmyk(0%, 6.9%, 54.8%, 2.7%)
CIE-LABlab(90.91, -8.82, 59.08)
CIE-LCHlch(90.91, 59.74, 98.49°)
OKLaboklab(91.86% -0.0275 0.1379)
OKLCHoklch(91.86% 0.141 101.3)
XYZxyz(70.2143, 78.2808, 26.7372)
Luminance0.7828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E770 #7081F8
analogous
#F8A370 #F8E770 #C5F870
triadic
#F8E770 #70F8E7 #E770F8
tetradic
#F8E770 #70F8A3 #7081F8 #F870C5
square
#F8E770 #70F8A3 #7081F8 #F870C5
split-complementary
#F8E770 #70C5F8 #A370F8
monochromatic
#E3C80B #F5DD36 #F8E770 #FBF1AA #FEFAE2

Accessibility & contrast

On white

1.26
#F8E770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.66
#F8E770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E770
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E770#FFFFFF#000000##000000
##F8E7701.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E164
Deuteranopia (green-blind)
#FFE876
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e770;
/* rgb */ color: rgb(248, 231, 112);
/* oklch */ color: oklch(91.9% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#fdee9c',
    500: '#f8e770',
    950: '#000000',
  },
}
SCSS
$custom: #f8e770;
$custom-light: #fdee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e770",
  "rgb": {
    "r": 248,
    "g": 231,
    "b": 112
  },
  "hsl": {
    "h": 52.5,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91859,
    "c": 0.14061,
    "h": 101.3
  },
  "luminance": 0.78278
}

Semantic roles & 50–950 ramp

primary
#F8E770
secondary
#394DD3
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E770

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

Preview Lab → · Contrast checker → · Palette generator →

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