#F8E679#F8E679

#F8E679 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.8% C 0.131 H 100.1°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F8E679
RGBrgb(248, 230, 121)
HSLhsl(51, 90%, 72%)
HSVhsv(51, 51%, 97%)
CMYKcmyk(0%, 7.3%, 51.2%, 2.7%)
CIE-LABlab(90.75, -7.60, 54.76)
CIE-LCHlch(90.75, 55.28, 97.90°)
OKLaboklab(91.76% -0.023 0.1294)
OKLCHoklch(91.76% 0.131 100.1)
XYZxyz(70.4616, 77.9331, 29.4165)
Luminance0.7793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E679 #798BF8
analogous
#F8A779 #F8E679 #CBF879
triadic
#F8E679 #79F8E6 #E679F8
tetradic
#F8E679 #79F8A7 #798BF8 #F879CB
square
#F8E679 #79F8A7 #798BF8 #F879CB
split-complementary
#F8E679 #79CBF8 #A779F8
monochromatic
#EACB0C #F5DB3F #F8E679 #FBF1B3 #FDFAE2

Accessibility & contrast

On white

1.27
#F8E679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#F8E679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E679
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E679#FFFFFF#000000##000000
##F8E6791.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06F
Deuteranopia (green-blind)
#FDE87E
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e679;
/* rgb */ color: rgb(248, 230, 121);
/* oklch */ color: oklch(91.8% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#fdeda2',
    500: '#f8e679',
    950: '#000000',
  },
}
SCSS
$custom: #f8e679;
$custom-light: #fdeda2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e679",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 121
  },
  "hsl": {
    "h": 51.496,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91764,
    "c": 0.13143,
    "h": 100.1
  },
  "luminance": 0.77931
}

Semantic roles & 50–950 ramp

primary
#F8E679
secondary
#4156D4
accent
#21E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E679

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

Preview Lab → · Contrast checker → · Palette generator →

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