#F8EC77#F8EC77

#F8EC77 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 93.0% C 0.139 H 103.4°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F8EC77
RGBrgb(248, 236, 119)
HSLhsl(54, 90%, 72%)
HSVhsv(54, 52%, 97%)
CMYKcmyk(0%, 4.8%, 52%, 2.7%)
CIE-LABlab(92.26, -10.75, 57.46)
CIE-LCHlch(92.26, 58.46, 100.60°)
OKLaboklab(92.95% -0.0323 0.1351)
OKLCHoklch(92.95% 0.139 103.4)
XYZxyz(72.0388, 81.2816, 29.3434)
Luminance0.8128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EC77 #7783F8
analogous
#F8AC77 #F8EC77 #C3F877
triadic
#F8EC77 #77F8EC #EC77F8
tetradic
#F8EC77 #77F8AC #7783F8 #F877C3
square
#F8EC77 #77F8AC #7783F8 #F877C3
split-complementary
#F8EC77 #77C3F8 #AC77F8
monochromatic
#E9D40C #F5E43D #F8EC77 #FBF4B1 #FEFBE2

Accessibility & contrast

On white

1.22
#F8EC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#F8EC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EC77
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EC77#FFFFFF#000000##000000
##F8EC771.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ec77;
/* rgb */ color: rgb(248, 236, 119);
/* oklch */ color: oklch(93.0% 0.139 103.4);
Tailwind
colors: {
  custom: {
    50: '#fdf1a1',
    500: '#f8ec77',
    950: '#000000',
  },
}
SCSS
$custom: #f8ec77;
$custom-light: #fdf1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ec77",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 119
  },
  "hsl": {
    "h": 54.419,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92953,
    "c": 0.1389,
    "h": 103.4
  },
  "luminance": 0.81279
}

Semantic roles & 50–950 ramp

primary
#F8EC77
secondary
#3F4DD4
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EC77

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

Preview Lab → · Contrast checker → · Palette generator →

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