#F8ED75#F8ED75

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

Color values

HEX#F8ED75
RGBrgb(248, 237, 117)
HSLhsl(55, 90%, 72%)
HSVhsv(55, 53%, 97%)
CMYKcmyk(0%, 4.4%, 52.8%, 2.7%)
CIE-LABlab(92.49, -11.40, 58.65)
CIE-LCHlch(92.49, 59.75, 101.00°)
OKLaboklab(93.13% -0.0344 0.1375)
OKLCHoklch(93.13% 0.142 104)
XYZxyz(72.2086, 81.8115, 28.8137)
Luminance0.8181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED75 #7580F8
analogous
#F8AC75 #F8ED75 #C2F875
triadic
#F8ED75 #75F8ED #ED75F8
tetradic
#F8ED75 #75F8AC #7580F8 #F875C2
square
#F8ED75 #75F8AC #7580F8 #F875C2
split-complementary
#F8ED75 #75C2F8 #AC75F8
monochromatic
#E7D40C #F5E53B #F8ED75 #FBF5AF #FEFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8ED75#FFFFFF#000000##000000
##F8ED751.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)
#FFE66A
Deuteranopia (green-blind)
#FFEC7B
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ed75;
/* rgb */ color: rgb(248, 237, 117);
/* oklch */ color: oklch(93.1% 0.142 104.0);
Tailwind
colors: {
  custom: {
    50: '#fdf2a0',
    500: '#f8ed75',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed75;
$custom-light: #fdf2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed75",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 117
  },
  "hsl": {
    "h": 54.962,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93133,
    "c": 0.14171,
    "h": 104
  },
  "luminance": 0.81809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8ED75

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

Preview Lab → · Contrast checker → · Palette generator →

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