#F8E080#F8E080

#F8E080 is a very light, moderate yellow. Relative luminance 0.748; OKLCH L 90.7% C 0.119 H 95.7°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#F8E080
RGBrgb(248, 224, 128)
HSLhsl(48, 90%, 74%)
HSVhsv(48, 48%, 97%)
CMYKcmyk(0%, 9.7%, 48.4%, 2.7%)
CIE-LABlab(89.31, -3.99, 49.70)
CIE-LCHlch(89.31, 49.86, 94.59°)
OKLaboklab(90.65% -0.0119 0.1188)
OKLCHoklch(90.65% 0.119 95.7)
XYZxyz(69.2655, 74.8290, 31.2128)
Luminance0.7483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E080 #8098F8
analogous
#F8A480 #F8E080 #D4F880
triadic
#F8E080 #80F8E0 #E080F8
tetradic
#F8E080 #80F8A4 #8098F8 #F880D4
square
#F8E080 #80F8A4 #8098F8 #F880D4
split-complementary
#F8E080 #80D4F8 #A480F8
monochromatic
#F0C30D #F5D246 #F8E080 #FBEEBA #FDF8E2

Accessibility & contrast

On white

1.32
#F8E080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#F8E080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E080
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E080#FFFFFF#000000##000000
##F8E0801.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC78
Deuteranopia (green-blind)
#F8E484
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e080;
/* rgb */ color: rgb(248, 224, 128);
/* oklch */ color: oklch(90.7% 0.119 95.7);
Tailwind
colors: {
  custom: {
    50: '#fde9a7',
    500: '#f8e080',
    950: '#000000',
  },
}
SCSS
$custom: #f8e080;
$custom-light: #fde9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e080",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 128
  },
  "hsl": {
    "h": 48,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90654,
    "c": 0.11943,
    "h": 95.7
  },
  "luminance": 0.74826
}

Semantic roles & 50–950 ramp

primary
#F8E080
secondary
#4764D5
accent
#2EE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E080

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

Preview Lab → · Contrast checker → · Palette generator →

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