#F8ED77#F8ED77

#F8ED77 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.2% C 0.140 H 103.9°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#F8ED77
RGBrgb(248, 237, 119)
HSLhsl(55, 90%, 72%)
HSVhsv(55, 52%, 97%)
CMYKcmyk(0%, 4.4%, 52%, 2.7%)
CIE-LABlab(92.51, -11.24, 57.76)
CIE-LCHlch(92.51, 58.85, 101.01°)
OKLaboklab(93.16% -0.0337 0.1358)
OKLCHoklch(93.16% 0.14 103.9)
XYZxyz(72.3275, 81.8591, 29.4396)
Luminance0.8186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED77 #7782F8
analogous
#F8AD77 #F8ED77 #C2F877
triadic
#F8ED77 #77F8ED #ED77F8
tetradic
#F8ED77 #77F8AD #7782F8 #F877C2
square
#F8ED77 #77F8AD #7782F8 #F877C2
split-complementary
#F8ED77 #77C2F8 #AD77F8
monochromatic
#E9D60C #F5E53D #F8ED77 #FBF5B1 #FEFBE2

Accessibility & contrast

On white

1.21
#F8ED77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#F8ED77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED77
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED77#FFFFFF#000000##000000
##F8ED771.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66C
Deuteranopia (green-blind)
#FFEC7D
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ed77;
/* rgb */ color: rgb(248, 237, 119);
/* oklch */ color: oklch(93.2% 0.140 103.9);
Tailwind
colors: {
  custom: {
    50: '#fdf2a1',
    500: '#f8ed77',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed77;
$custom-light: #fdf2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed77",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 119
  },
  "hsl": {
    "h": 54.884,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93156,
    "c": 0.13988,
    "h": 103.9
  },
  "luminance": 0.81857
}

Semantic roles & 50–950 ramp

primary
#F8ED77
secondary
#3F4CD4
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8ED77

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

Preview Lab → · Contrast checker → · Palette generator →

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