#F8ED74#F8ED74

#F8ED74 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.1% C 0.143 H 104.1°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#F8ED74
RGBrgb(248, 237, 116)
HSLhsl(55, 90%, 71%)
HSVhsv(55, 53%, 97%)
CMYKcmyk(0%, 4.4%, 53.2%, 2.7%)
CIE-LABlab(92.48, -11.48, 59.09)
CIE-LCHlch(92.48, 60.20, 101.00°)
OKLaboklab(93.12% -0.0347 0.1383)
OKLCHoklch(93.12% 0.143 104.1)
XYZxyz(72.1502, 81.7881, 28.5057)
Luminance0.8179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED74 #747FF8
analogous
#F8AB74 #F8ED74 #C1F874
triadic
#F8ED74 #74F8ED #ED74F8
tetradic
#F8ED74 #74F8AB #747FF8 #F874C1
square
#F8ED74 #74F8AB #747FF8 #F874C1
split-complementary
#F8ED74 #74C1F8 #AB74F8
monochromatic
#E6D40C #F5E53A #F8ED74 #FBF5AE #FEFBE2

Accessibility & contrast

On white

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

On black

17.36
#F8ED74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED74
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED74#FFFFFF#000000##000000
##F8ED741.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE668
Deuteranopia (green-blind)
#FFEC7A
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ed74;
/* rgb */ color: rgb(248, 237, 116);
/* oklch */ color: oklch(93.1% 0.143 104.1);
Tailwind
colors: {
  custom: {
    50: '#fdf29f',
    500: '#f8ed74',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed74;
$custom-light: #fdf29f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed74",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 116
  },
  "hsl": {
    "h": 55,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93121,
    "c": 0.14262,
    "h": 104.1
  },
  "luminance": 0.81786
}

Semantic roles & 50–950 ramp

primary
#F8ED74
secondary
#3D49D3
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8ED74

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

Preview Lab → · Contrast checker → · Palette generator →

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