#F8E677#F8E677

#F8E677 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.7% C 0.133 H 100.2°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#F8E677
RGBrgb(248, 230, 119)
HSLhsl(52, 90%, 72%)
HSVhsv(52, 52%, 97%)
CMYKcmyk(0%, 7.3%, 52%, 2.7%)
CIE-LABlab(90.73, -7.77, 55.66)
CIE-LCHlch(90.73, 56.20, 97.94°)
OKLaboklab(91.74% -0.0237 0.1312)
OKLCHoklch(91.74% 0.133 100.2)
XYZxyz(70.3402, 77.8846, 28.7772)
Luminance0.7788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E677 #7789F8
analogous
#F8A677 #F8E677 #CAF877
triadic
#F8E677 #77F8E6 #E677F8
tetradic
#F8E677 #77F8A6 #7789F8 #F877CA
square
#F8E677 #77F8A6 #7789F8 #F877CA
split-complementary
#F8E677 #77CAF8 #A677F8
monochromatic
#E9CA0C #F5DB3D #F8E677 #FBF1B1 #FEFAE2

Accessibility & contrast

On white

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

On black

16.58
#F8E677 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E677
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E677#FFFFFF#000000##000000
##F8E6771.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06D
Deuteranopia (green-blind)
#FDE87C
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e677;
/* rgb */ color: rgb(248, 230, 119);
/* oklch */ color: oklch(91.7% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#fdeda1',
    500: '#f8e677',
    950: '#000000',
  },
}
SCSS
$custom: #f8e677;
$custom-light: #fdeda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e677",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 119
  },
  "hsl": {
    "h": 51.628,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9174,
    "c": 0.13332,
    "h": 100.2
  },
  "luminance": 0.77882
}

Semantic roles & 50–950 ramp

primary
#F8E677
secondary
#3F54D4
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E677

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

Preview Lab → · Contrast checker → · Palette generator →

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