#F8ED79#F8ED79

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

Color values

HEX#F8ED79
RGBrgb(248, 237, 121)
HSLhsl(55, 90%, 72%)
HSVhsv(55, 51%, 97%)
CMYKcmyk(0%, 4.4%, 51.2%, 2.7%)
CIE-LABlab(92.53, -11.08, 56.87)
CIE-LCHlch(92.53, 57.94, 101.03°)
OKLaboklab(93.18% -0.033 0.134)
OKLCHoklch(93.18% 0.138 103.8)
XYZxyz(72.4489, 81.9076, 30.0789)
Luminance0.8190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED79 #7984F8
analogous
#F8AD79 #F8ED79 #C4F879
triadic
#F8ED79 #79F8ED #ED79F8
tetradic
#F8ED79 #79F8AD #7984F8 #F879C4
square
#F8ED79 #79F8AD #7984F8 #F879C4
split-complementary
#F8ED79 #79C4F8 #AD79F8
monochromatic
#EAD70C #F5E53F #F8ED79 #FBF5B3 #FDFBE2

Accessibility & contrast

On white

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

On black

17.38
#F8ED79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED79
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED79#FFFFFF#000000##000000
##F8ED791.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66E
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8ed79;
/* rgb */ color: rgb(248, 237, 121);
/* oklch */ color: oklch(93.2% 0.138 103.8);
Tailwind
colors: {
  custom: {
    50: '#fdf2a2',
    500: '#f8ed79',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed79;
$custom-light: #fdf2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed79",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 121
  },
  "hsl": {
    "h": 54.803,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9318,
    "c": 0.13801,
    "h": 103.8
  },
  "luminance": 0.81905
}

Semantic roles & 50–950 ramp

primary
#F8ED79
secondary
#414ED4
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F8ED79

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

Preview Lab → · Contrast checker → · Palette generator →

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