#F8E983#F8E983

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

Color values

HEX#F8E983
RGBrgb(248, 233, 131)
HSLhsl(52, 89%, 74%)
HSVhsv(52, 47%, 97%)
CMYKcmyk(0%, 6%, 47.2%, 2.7%)
CIE-LABlab(91.63, -8.23, 51.09)
CIE-LCHlch(91.63, 51.75, 99.15°)
OKLaboklab(92.5% -0.0238 0.1221)
OKLCHoklch(92.5% 0.124 101)
XYZxyz(71.9490, 79.8754, 33.0958)
Luminance0.7987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E983 #8392F8
analogous
#F8AF83 #F8E983 #CCF883
triadic
#F8E983 #83F8E9 #E983F8
tetradic
#F8E983 #83F8AF #8392F8 #F883CC
square
#F8E983 #83F8AF #8392F8 #F883CC
split-complementary
#F8E983 #83CCF8 #AF83F8
monochromatic
#F1D40F #F5DF49 #F8E983 #FBF3BD #FDFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8E983#FFFFFF#000000##000000
##F8E9831.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)
#FAE37A
Deuteranopia (green-blind)
#FEEA87
Tritanopia (blue-blind)
#FFDCD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8e983;
/* rgb */ color: rgb(248, 233, 131);
/* oklch */ color: oklch(92.5% 0.124 101.0);
Tailwind
colors: {
  custom: {
    50: '#fcefa9',
    500: '#f8e983',
    950: '#000000',
  },
}
SCSS
$custom: #f8e983;
$custom-light: #fcefa9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e983",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 131
  },
  "hsl": {
    "h": 52.308,
    "s": 89.313,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92499,
    "c": 0.12444,
    "h": 101
  },
  "luminance": 0.79873
}

Semantic roles & 50–950 ramp

primary
#F8E983
secondary
#4A5CD5
accent
#1DE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F8E983

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

Preview Lab → · Contrast checker → · Palette generator →

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