#F8E982#F8E982

#F8E982 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.5% C 0.125 H 101.1°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#F8E982
RGBrgb(248, 233, 130)
HSLhsl(52, 89%, 74%)
HSVhsv(52, 48%, 97%)
CMYKcmyk(0%, 6%, 47.6%, 2.7%)
CIE-LABlab(91.62, -8.32, 51.56)
CIE-LCHlch(91.62, 52.22, 99.17°)
OKLaboklab(92.49% -0.0242 0.1231)
OKLCHoklch(92.49% 0.125 101.1)
XYZxyz(71.8815, 79.8484, 32.7406)
Luminance0.7985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E982 #8291F8
analogous
#F8AE82 #F8E982 #CCF882
triadic
#F8E982 #82F8E9 #E982F8
tetradic
#F8E982 #82F8AE #8291F8 #F882CC
square
#F8E982 #82F8AE #8291F8 #F882CC
split-complementary
#F8E982 #82CCF8 #AE82F8
monochromatic
#F2D50E #F5DF48 #F8E982 #FBF3BC #FDFAE2

Accessibility & contrast

On white

1.24
#F8E982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#F8E982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E982
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E982#FFFFFF#000000##000000
##F8E9821.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE379
Deuteranopia (green-blind)
#FEEA86
Tritanopia (blue-blind)
#FFDCD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8e982;
/* rgb */ color: rgb(248, 233, 130);
/* oklch */ color: oklch(92.5% 0.125 101.1);
Tailwind
colors: {
  custom: {
    50: '#fcefa8',
    500: '#f8e982',
    950: '#000000',
  },
}
SCSS
$custom: #f8e982;
$custom-light: #fcefa8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e982",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 130
  },
  "hsl": {
    "h": 52.373,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92486,
    "c": 0.12544,
    "h": 101.1
  },
  "luminance": 0.79846
}

Semantic roles & 50–950 ramp

primary
#F8E982
secondary
#495BD5
accent
#1DE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F8E982

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

Preview Lab → · Contrast checker → · Palette generator →

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