#F8EF80#F8EF80

#F8EF80 is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.7% C 0.133 H 104.5°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#F8EF80
RGBrgb(248, 239, 128)
HSLhsl(56, 90%, 74%)
HSVhsv(56, 48%, 97%)
CMYKcmyk(0%, 3.6%, 48.4%, 2.7%)
CIE-LABlab(93.12, -11.47, 54.32)
CIE-LCHlch(93.12, 55.52, 101.93°)
OKLaboklab(93.67% -0.0334 0.129)
OKLCHoklch(93.67% 0.133 104.5)
XYZxyz(73.4761, 83.2502, 32.6163)
Luminance0.8325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF80 #8089F8
analogous
#F8B380 #F8EF80 #C5F880
triadic
#F8EF80 #80F8EF #EF80F8
tetradic
#F8EF80 #80F8B3 #8089F8 #F880C5
square
#F8EF80 #80F8B3 #8089F8 #F880C5
split-complementary
#F8EF80 #80C5F8 #B380F8
monochromatic
#F0DF0D #F5E846 #F8EF80 #FBF6BA #FDFBE2

Accessibility & contrast

On white

1.19
#F8EF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#F8EF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF80
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF80#FFFFFF#000000##000000
##F8EF801.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE876
Deuteranopia (green-blind)
#FFEE85
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8ef80;
/* rgb */ color: rgb(248, 239, 128);
/* oklch */ color: oklch(93.7% 0.133 104.5);
Tailwind
colors: {
  custom: {
    50: '#fdf4a7',
    500: '#f8ef80',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef80;
$custom-light: #fdf4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef80",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 128
  },
  "hsl": {
    "h": 55.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93674,
    "c": 0.1333,
    "h": 104.5
  },
  "luminance": 0.83248
}

Semantic roles & 50–950 ramp

primary
#F8EF80
secondary
#4752D5
accent
#11E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F8EF80

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

Preview Lab → · Contrast checker → · Palette generator →

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